Add string -> long long conversion for OS X.
[libcxml.git] / wscript
diff --git a/wscript b/wscript
index 959e1e0faa6212cd8baa84f0eb65aa3c7ac87586..b4f47474daa74cad077bc0964548838a80a8a2af 100644 (file)
--- a/wscript
+++ b/wscript
@@ -57,8 +57,10 @@ def configure(conf):
 
     if conf.options.target_windows:
         boost_lib_suffix = '-mt'
+        conf.env.append_value('CXXFLAGS', '-DLIBCXML_WINDOWS')
     else:
         boost_lib_suffix = ''
+        conf.env.append_value('CXXFLAGS', '-DLIBCXML_POSIX')
 
     conf.check_cfg(package='libxml++-2.6', args='--cflags --libs', uselib_store='LIBXML++', mandatory=True)