]> Creatis software - cpPlugins.git/blobdiff - appli/bash/Utility.h.in
Windows compilation: 3/3
[cpPlugins.git] / appli / bash / Utility.h.in
index a0bbb2183900c891250492163dd33bf753248854..95c8be0f97292d329922b9bc7b76d6b39f93df04 100644 (file)
@@ -6,15 +6,14 @@
 #include <string>
 
 // -------------------------------------------------------------------------
-#ifdef @prj_NAME@_Windows
+#define @prj_NAME_OS@
+#ifdef @prj_NAME_OS@
 #  define cpExtensions_STRTOK( A, B, N )  strtok_s(  A, B, N )
 #  define cpExtensions_SPRINTF( B, S, O ) sprintf_s( B, S, "%s", O );
-#  define
-#else // @prj_NAME@_Windows
+#else // @prj_NAME_OS@
 #  define cpExtensions_STRTOK( A, B, N )  std::strtok( A, B )
 #  define cpExtensions_SPRINTF( B, S, O ) std::sprintf( B, "%s", O );
-#endif // @prj_NAME@_Windows
-
+#endif // @prj_NAME_OS@
 
 // -------------------------------------------------------------------------
 namespace cpPlugins_bash