Fixed CMK_HP_MAIN_FIX bug in tcp-hp version.
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Wed, 15 Jan 1997 19:23:46 +0000 (19:23 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Wed, 15 Jan 1997 19:23:46 +0000 (19:23 +0000)
src/arch/tcp-hp/conv-mach.h
src/arch/tcp/machine.c

index a4b55671d45691750ad0e7ae93f3175ff3d8d9a5..925d0dc812bd5871202e697b8c3591446f1bea6b 100644 (file)
@@ -8,7 +8,10 @@
  ***************************************************************************
  *
  * $Log$
- * Revision 2.28  1996-11-23 02:25:44  milind
+ * Revision 2.29  1997-01-15 19:23:47  milind
+ * Fixed CMK_HP_MAIN_FIX bug in tcp-hp version.
+ *
+ * Revision 2.28  1996/11/23 02:25:44  milind
  * Fixed several subtle bugs in the converse runtime for convex
  * exemplar.
  *
 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
 
-#define CMK_USE_HP_MAIN_FIX                                0
-#define CMK_DONT_USE_HP_MAIN_FIX                           1
+#define CMK_USE_HP_MAIN_FIX                                1
+#define CMK_DONT_USE_HP_MAIN_FIX                           0
 
 #endif
 
index 0142e7dfb437c3d8012374016fba52b869993331..6d2f1aabf075eb9b7a271154629941f3e640d422 100644 (file)
@@ -1294,6 +1294,11 @@ main(argc, argv)
 int argc;
 char **argv;
 {
+#if CMK_USE_HP_MAIN_FIX
+#if FOR_CPLUS
+  _main(argc,argv);
+#endif
+#endif
 setbuf(stderr,0);
 user_main(argc, argv);
 }