summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-07 21:05:43 +0000
committerluther <luther@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-07 21:05:43 +0000
commite3d68e6fda484cffeb5588865b44b79cdd9fec0d (patch)
tree15bd6d27bf8c9884d8a4d868bd99cad218f650f5
parentab3fb5634a41f43108a3203bf0d113b47e128522 (diff)
downloadATCD-e3d68e6fda484cffeb5588865b44b79cdd9fec0d.tar.gz
Fri Jul 7 16:04:30 2000 Luther J Baker <luther@cs.wustl.edu>
-rw-r--r--PACE/ChangeLog7
-rw-r--r--PACE/pace/config/platform.h36
2 files changed, 33 insertions, 10 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog
index 8263f4a2809..8f1c624ee7a 100644
--- a/PACE/ChangeLog
+++ b/PACE/ChangeLog
@@ -1,3 +1,10 @@
+Fri Jul 7 16:04:30 2000 Luther J Baker <luther@cs.wustl.edu>
+
+ * pace/config/platform:
+
+ # define all unused macros so we can test them against '0'
+ in the source code.
+
Fri Jul 7 15:24:57 2000 Luther J Baker <luther@cs.wustl.edu>
* pace/config/compiler.h:
diff --git a/PACE/pace/config/platform.h b/PACE/pace/config/platform.h
index 8efcebb9ae2..874b8d023d1 100644
--- a/PACE/pace/config/platform.h
+++ b/PACE/pace/config/platform.h
@@ -16,31 +16,47 @@
#ifndef PACE_CONFIG_PLATFORM_H
#define PACE_CONFIG_PLATFORM_H
+/* Be careful not to define these macros 2x. */
+/* IE: makefile or other config file. */
+/* This could create compiler warnings. */
+
/* These platforms are POSIX compliant. */
+
#if defined (PACE_LINUX)
# define PACE_HAS_POSIX PACE_LINUX
+# define PACE_LYNXOS 0
+# define PACE_SUNOS 0
+# define PACE_VXWORKS 0
+# define PACE_WIN32 0
#elif defined (PACE_LYNXOS)
# define PACE_HAS_POSIX PACE_LYNXOS
+# define PACE_LINUX 0
+# define PACE_SUNOS 0
+# define PACE_VXWORKS 0
+# define PACE_WIN32 0
#elif defined (PACE_SUNOS)
# define PACE_HAS_POSIX PACE_SUNOS
+# define PACE_LINUX 0
+# define PACE_LYNXOS 0
+# define PACE_VXWORKS 0
+# define PACE_WIN32 0
/* These platforms are NOT POSIX compliant. */
+
#elif defined (PACE_VXWORKS)
# define PACE_LACKS_POSIX PACE_VXWORKS
+# define PACE_LINUX 0
+# define PACE_LYNXOS 0
+# define PACE_SUNOS 0
+# define PACE_WIN32 0
/* Doesn't use the makefile! */
#elif defined (WIN32)
# define PACE_WIN32 2000
# define PACE_LACKS_POSIX PACE_WIN32
+# define PACE_LINUX 0
+# define PACE_LYNXOS 0
+# define PACE_SUNOS 0
+# define PACE_VXWORKS 0
#endif
#endif /* PACE_CONFIG_PLATFORM_H */
-
-
-
-
-
-
-
-
-
-