initial check-in of msvc build.

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@8 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris
2007-05-16 22:56:27 +00:00
parent 7b09fa6978
commit 96300781c8
7 changed files with 267 additions and 20 deletions

View File

@@ -35,6 +35,24 @@
#define OPENZAP_H
#define _XOPEN_SOURCE 500
#ifdef _MSC_VER
#if (_MSC_VER >= 1400) // VC8+
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
#ifndef _CRT_NONSTDC_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE
#endif
#endif
#ifndef strcasecmp
#define strcasecmp(s1, s2) _stricmp(s1, s2)
#endif
#ifndef snprintf
#define snprintf _snprintf
#endif
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>