mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3070e8572d | ||
|
|
baf4d8af27 | ||
|
|
d5acf2e2a7 |
No files matched your search
+1
-1
@@ -158,7 +158,7 @@ Mongoose: ../mongoose.c main.c
|
|||||||
-framework Cocoa -ObjC -arch i386 -arch x86_64 -o Mongoose
|
-framework Cocoa -ObjC -arch i386 -arch x86_64 -o Mongoose
|
||||||
|
|
||||||
cocoa: Mongoose
|
cocoa: Mongoose
|
||||||
V=`perl -lne '/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1' ../mongoose.c`; DIR=dmg/Mongoose.app && rm -rf $$DIR && mkdir -p $$DIR/Contents/{MacOS,Resources} && install -m 644 mongoose_*.png $$DIR/Contents/Resources/ && install -m 644 Info.plist $$DIR/Contents/ && install -m 755 Mongoose $$DIR/Contents/MacOS/ && ln -fs /Applications dmg/ ; hdiutil create Mongoose_$$V.dmg -volname "Mongoose $$V" -srcfolder dmg -ov #; rm -rf dmg
|
V=`perl -lne '/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1' ../mongoose.c`; DIR=dmg/Mongoose.app && rm -rf $$DIR && mkdir -p $$DIR/Contents/{MacOS,Resources} && install -m 644 mongoose_*.png $$DIR/Contents/Resources/ && install -m 644 Info.plist $$DIR/Contents/ && install -m 755 Mongoose $$DIR/Contents/MacOS/ && ln -fs /Applications dmg/ ; hdiutil create Mongoose-$$V.dmg -volname "Mongoose $$V" -srcfolder dmg -ov #; rm -rf dmg
|
||||||
|
|
||||||
un:
|
un:
|
||||||
$(CC) ../test/unit_test.c -o unit_test lua_5.2.1.c $(CFLAGS) -g -O0
|
$(CC) ../test/unit_test.c -o unit_test lua_5.2.1.c $(CFLAGS) -g -O0
|
||||||
|
|||||||
+3
-5
@@ -142,10 +142,8 @@ typedef long off_t;
|
|||||||
#define fdopen(x, y) _fdopen((x), (y))
|
#define fdopen(x, y) _fdopen((x), (y))
|
||||||
#define write(x, y, z) _write((x), (y), (unsigned) z)
|
#define write(x, y, z) _write((x), (y), (unsigned) z)
|
||||||
#define read(x, y, z) _read((x), (y), (unsigned) z)
|
#define read(x, y, z) _read((x), (y), (unsigned) z)
|
||||||
#define flockfile(x) LockFileEx((HANDLE) _get_osfhandle(_fileno(x)), \
|
#define flockfile(x)
|
||||||
LOCKFILE_FAIL_IMMEDIATELY | LOCKFILE_EXCLUSIVE_LOCK, 0, 0, 0, NULL)
|
#define funlockfile(x)
|
||||||
#define funlockfile(x) UnlockFileEx((HANDLE) _get_osfhandle(_fileno(x)), \
|
|
||||||
0, 0, 0, NULL)
|
|
||||||
#define sleep(x) Sleep((x) * 1000)
|
#define sleep(x) Sleep((x) * 1000)
|
||||||
#define rmdir(x) _rmdir(x)
|
#define rmdir(x) _rmdir(x)
|
||||||
|
|
||||||
@@ -250,7 +248,7 @@ typedef int SOCKET;
|
|||||||
|
|
||||||
#include "mongoose.h"
|
#include "mongoose.h"
|
||||||
|
|
||||||
#define MONGOOSE_VERSION "4.0"
|
#define MONGOOSE_VERSION "4.1"
|
||||||
#define PASSWORDS_FILE_NAME ".htpasswd"
|
#define PASSWORDS_FILE_NAME ".htpasswd"
|
||||||
#define CGI_ENVIRONMENT_SIZE 4096
|
#define CGI_ENVIRONMENT_SIZE 4096
|
||||||
#define MAX_CGI_ENVIR_VARS 64
|
#define MAX_CGI_ENVIR_VARS 64
|
||||||
|
|||||||
Reference in new issue
Block a user