do not include some headers if vc++ is used

SVN revision: 55547
This commit is contained in:
Vincent Torri 2010-12-14 05:56:46 +00:00
parent 5d0305be13
commit aad53ed90d
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,9 @@
#ifndef _EDJE_H
#define _EDJE_H
#include <stdint.h>
#ifndef _MSC_VER
# include <stdint.h>
#endif
#include <math.h>
#include <float.h>
#include <limits.h>

View File

@ -29,17 +29,17 @@ void *alloca (size_t);
#include <time.h>
#include <sys/time.h>
#include <errno.h>
#include <libgen.h>
#ifndef _MSC_VER
# include <libgen.h>
# include <unistd.h>
#endif
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include <setjmp.h>
#ifndef _MSC_VER
# include <unistd.h>
#endif
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif