]> Creatis software - bbtk.git/commitdiff
Bug fix on windows
authorguigues <guigues>
Wed, 28 Jan 2009 11:54:04 +0000 (11:54 +0000)
committerguigues <guigues>
Wed, 28 Jan 2009 11:54:04 +0000 (11:54 +0000)
kernel/src/bbtkConfigurationFile.cxx
kernel/src/bbtkUtilities.cxx

index f7b9002db829248636b4e47cde8ecc48fb94262f..764024a04d4e0552ff3994da7cceba4a74219e58 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkConfigurationFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/01/27 14:22:56 $
-  Version:   $Revision: 1.26 $
+  Date:      $Date: 2009/01/28 11:54:04 $
+  Version:   $Revision: 1.27 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
 # include <windows.h>
 #endif
 
-#if defined(MACOSX) // assume this is OSX 
-# include <sys/param.h>
-# include <mach-o/dyld.h> // _NSGetExecutablePath : must add -framework CoreFoundation to link line 
-# include <string.h>
-# ifndef PATH_MAX
-#  define PATH_MAX MAXPATHLEN
-# endif
-#endif // MACOSX
-
-#ifndef PATH_MAX // If not defined yet : do it 
-#  define PATH_MAX 2048
-#endif
+
 
 
 namespace bbtk
index 21fa9479f3ceb892e86e48b51a177caa9a57d885..7f8ed76c1e9bcd6a384edc3af0e72710cc03b07e 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkUtilities.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/01/27 14:22:57 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2009/01/28 11:54:04 $
+  Version:   $Revision: 1.12 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
 #include "bbtkUtilities.h"
 #include "bbtkMessageManager.h"
 
+#if defined(MACOSX) // assume this is OSX 
+# include <sys/param.h>
+# include <mach-o/dyld.h> // _NSGetExecutablePath : must add -framework CoreFoundation to link line 
+# include <string.h>
+# ifndef PATH_MAX
+#  define PATH_MAX MAXPATHLEN
+# endif
+#endif // MACOSX
+
+#ifndef PATH_MAX // If not defined yet : do it 
+#  define PATH_MAX 2048
+#endif 
 
 namespace bbtk
 {