Compile-Warnings mit ADEOS behoben.
--- a/devices/8139too.c Fri Feb 24 13:09:13 2006 +0000
+++ b/devices/8139too.c Fri Feb 24 13:14:21 2006 +0000
@@ -136,12 +136,12 @@
#include "../include/EtherCAT_dev.h"
-#define LIT(X) #X
-#define STR(X) LIT(X)
-
-#define COMPILE_INFO "Revision " STR(EC_REV) \
- ", compiled by " STR(EC_USER) \
- " at " STR(EC_DATE)
+#define EC_LIT(X) #X
+#define EC_STR(X) EC_LIT(X)
+
+#define COMPILE_INFO "Revision " EC_STR(EC_REV) \
+ ", compiled by " EC_STR(EC_USER) \
+ " at " EC_STR(EC_DATE)
/* EtherCAT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
--- a/master/module.c Fri Feb 24 13:09:13 2006 +0000
+++ b/master/module.c Fri Feb 24 13:14:21 2006 +0000
@@ -32,12 +32,12 @@
/*****************************************************************************/
-#define LIT(X) #X
-#define STR(X) LIT(X)
-
-#define COMPILE_INFO "Revision " STR(EC_REV) \
- ", compiled by " STR(EC_USER) \
- " at " STR(EC_DATE)
+#define EC_LIT(X) #X
+#define EC_STR(X) EC_LIT(X)
+
+#define COMPILE_INFO "Revision " EC_STR(EC_REV) \
+ ", compiled by " EC_STR(EC_USER) \
+ " at " EC_STR(EC_DATE)
/*****************************************************************************/