debug: all
#m32: DEBUG += -m32
-#m32: converti2
+#m32: all
rebuild: clean all
+static: DEBUG += -static -static-libgcc
+static: all
+
+win32: CC=i586-mingw32msvc-g++
+win32: LIBS += -L/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/lib
+win32: all
+
MemoryPool.o: $(COMMON_API_PATH)/MemoryPool.h $(COMMON_API_PATH)/MemoryPool.cpp $(COMMON_API_PATH)/Public.h
$(CC) $(CFLAGS) $(COMMON_API_PATH)/MemoryPool.cpp
return 30;
if(highvalue < 0x80000000)
return 31;
-#ifdef WIN32
+#if defined(_WIN32) && !defined(__GNUC__)
if(highvalue < 0x0000000100000000I64)
return 32;
if(highvalue < 0x0000000200000000I64)
}
unsigned int distribution[64] = {0};
unsigned int numProcessedChains = 0;
- FILE* fileR;
+ FILE* fileR = NULL;
BaseRTReader *reader = NULL;
if(sPathName.substr(sPathName.length() - 2, sPathName.length()) == "rt")
reader = (BaseRTReader*)new RTReader(sPathName);
}
}
vector<string> vPathName;
-#ifdef WIN32
+#ifdef _WIN32
string sWildCharPathName = argv[1];
GetTableList(sWildCharPathName, vPathName);
#else