[mpich2-commits] r5541 - mpich2/trunk/src/include
    goodell at mcs.anl.gov 
    goodell at mcs.anl.gov
       
    Thu Oct 22 17:31:24 CDT 2009
    
    
  
Author: goodell
Date: 2009-10-22 17:31:24 -0500 (Thu, 22 Oct 2009)
New Revision: 5541
Modified:
   mpich2/trunk/src/include/mpishared.h
Log:
Include mpichconfconst.h in mpishared.h as in r5492.
A classic example of code duplication biting us yet again.
No reviewer.
Modified: mpich2/trunk/src/include/mpishared.h
===================================================================
--- mpich2/trunk/src/include/mpishared.h	2009-10-22 21:29:50 UTC (rev 5540)
+++ mpich2/trunk/src/include/mpishared.h	2009-10-22 22:31:24 UTC (rev 5541)
@@ -21,6 +21,11 @@
 #error 'mpishared.h should not be used if mpiimpl.h is included'
 #endif
 
+/* There are a few definitions that must be made *before* the mpichconf.h
+   file is included.  These include the definitions of the error levels and some
+   thread granularity constants */
+#include "mpichconfconst.h"
+
 /* Make sure that we have the basic definitions */
 #ifndef MPICHCONF_H_INCLUDED
 #include "mpichconf.h"
    
    
More information about the mpich2-commits
mailing list