Changeset 364 for trunk/thirds
- Timestamp:
- Sep 29, 2012, 3:59:06 PM (12 years ago)
- Location:
- trunk/thirds
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/thirds/cgic206/cgic.c
r348 r364 145 145 cgiGetenv(&cgiQueryString, "QUERY_STRING"); 146 146 cgiSid=NULL; 147 if( strcmp(cgiQueryString,"")==0&& argc>=2){147 if(cgiQueryString!=NULL && argc>=2){ 148 148 cgiQueryString=argv[1]; 149 149 if(argc>2){ -
trunk/thirds/cgic206/makefile.vc
r216 r364 1 GEODIR= C:/OSGeo4W2 DESTDIR= C:\OSGeo4W1 GEODIR=\MMBK\SRCS\fcgi-2.4.1-SNAP-0311112127\ 2 DESTDIR=.. 3 3 CFLAGS=-g -Wall 4 4 CC=cl /TP 5 LIBS=$(GEODIR)/lib /libfcgi.lib /nologo5 LIBS=$(GEODIR)/libfcgi/Release/libfcgi.lib /nologo 6 6 LIBS1=./libcgic.lib 7 7 8 CFLAGS=/EHa /nologo /DCRT_SECURE_NO_WARNING /M T/W2 /O2 /D "WIN32" \9 -I $(GEODIR) /include8 CFLAGS=/EHa /nologo /DCRT_SECURE_NO_WARNING /MD /W2 /O2 /D "WIN32" \ 9 -I $(GEODIR)\include 10 10 11 11 all: libcgic.lib #cgictest.exe capture.exe -
trunk/thirds/include/unistd.h
r348 r364 3 3 #include <io.h> 4 4 #include <process.h> 5 #define mode_t int 6 #define strtok_r strtok_s 7 #define S_IRWXU _S_IREAD|_S_IWRITE 8 #define S_IRGRP _S_IREAD|_S_IWRITE 9 #define S_IROTH _S_IREAD|_S_IWRITE 10 #define S_IXGRP _S_IREAD|_S_IWRITE 11 #define S_IXOTH _S_IREAD|_S_IWRITE 12 #define S_IWOTH _S_IREAD|_S_IWRITE 13 #define S_IRUSR _S_IREAD 14 #define S_IXGRP _S_IREAD|_S_IWRITE 15 #define S_IWGRP _S_IREAD|_S_IWRITE 16 #define S_IWUSR _S_IREAD|_S_IWRITE 5 17 6 18 #endif
Note: See TracChangeset
for help on using the changeset viewer.