equal
deleted
inserted
replaced
101 # pragma warning(disable: 4761) // integral size mismatch in argument : conversion supplied |
101 # pragma warning(disable: 4761) // integral size mismatch in argument : conversion supplied |
102 # if _MSC_VER < 1300 // MSVC 6 borkdness |
102 # if _MSC_VER < 1300 // MSVC 6 borkdness |
103 # pragma warning(disable: 4018) // 'expression' : signed/unsigned mismatch |
103 # pragma warning(disable: 4018) // 'expression' : signed/unsigned mismatch |
104 # pragma warning(disable: 4305) // 'identifier' : truncation from 'type1' to 'type2' |
104 # pragma warning(disable: 4305) // 'identifier' : truncation from 'type1' to 'type2' |
105 # endif /* _MSC_VER < 1300 */ |
105 # endif /* _MSC_VER < 1300 */ |
|
106 # if _MSC_VER >= 1400 // MSVC 2005 safety checks |
|
107 # pragma warning(disable: 4996) // 'strdup' was declared deprecated |
|
108 # define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions |
|
109 # pragma comment(linker, "/NODEFAULTLIB:LIBC.LIB") |
|
110 // allow linking to non-recompiled libs |
|
111 # endif /* _MSC_VER >= 1400 */ |
106 |
112 |
107 # include <malloc.h> // alloca() |
113 # include <malloc.h> // alloca() |
108 # define NORETURN __declspec(noreturn) |
114 # define NORETURN __declspec(noreturn) |
109 # define FORCEINLINE __forceinline |
115 # define FORCEINLINE __forceinline |
110 # define inline _inline |
116 # define inline _inline |