Revision: 71951 http://sourceforge.net/p/brlcad/code/71951 Author: starseeker Date: 2018-10-05 17:44:32 +0000 (Fri, 05 Oct 2018) Log Message: ----------- Add definition guards in case these are already set
Modified Paths: -------------- brlcad/trunk/include/common.h Modified: brlcad/trunk/include/common.h =================================================================== --- brlcad/trunk/include/common.h 2018-10-05 17:35:47 UTC (rev 71950) +++ brlcad/trunk/include/common.h 2018-10-05 17:44:32 UTC (rev 71951) @@ -182,8 +182,12 @@ * version (ugh.) */ # include "pstdint.h" # elif defined(__STDC__) || defined(__STRICT_ANSI__) || defined(__SIZE_TYPE__) || defined(HAVE_STDINT_H) -# define __STDC_LIMIT_MACROS 1 -# define __STDC_CONSTANT_MACROS 1 +# if !defined(__STDC_LIMIT_MACROS) +# define __STDC_LIMIT_MACROS 1 +# endif +# if !defined(__STDC_CONSTANT_MACROS) +# define __STDC_CONSTANT_MACROS 1 +# endif # include <stdint.h> # else # include "pstdint.h" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits