]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/common.cpp
Added checks for boost and yajl.
[stg.git] / stglibs / common.lib / common.cpp
index d91c17956755bfb008d800dcac5fccac2ffe0f55..22ec354b002442eab12f55b8868ddee7254669e8 100644 (file)
@@ -899,7 +899,7 @@ strncpy(inBuf, source.c_str(), source.length());
 
 inBuf[source.length()] = 0;
 
-#if defined(FREE_BSD) || defined(FREE_BSD5) || defined(WIN32)
+#if defined(CONST_ICONV)
 const char * srcPos = inBuf;
 #else
 char * srcPos = inBuf;