Use POSIX macros for linux
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / wwl / include / WWL / WArgList.h
index 1ab3bdd27f9f5c8b7204893eb114187405007f2d..47f9a305fd137b40b66989f162793365bbf3adac 100644 (file)
@@ -45,7 +45,7 @@
 #define WArgList_h
 
 // Allow setting of resources by name in arg list
-#if defined(linux) || defined(CSRG_BASED) || defined(sun)
+#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
 #define CASTRNAM (char*)
 #define CASTVAL  (void*)(size_t)
 #else