summaryrefslogtreecommitdiff
path: root/src/lib/embryo
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-01-03 06:23:10 +0100
committerCedric BAIL <cedric@osg.samsung.com>2018-01-04 12:59:47 -0800
commit4ae6eeb2cffa68336beedaeacf8874c93f15feda (patch)
tree9c212d00728a35922c468725a382cd6c0fb40d63 /src/lib/embryo
parent6c42801bac1343629ded606e6960bb656ec86ff8 (diff)
efl: remove _MSC_VER (Visual Studio macro) usage in source code
Diffstat (limited to 'src/lib/embryo')
-rw-r--r--src/lib/embryo/embryo_private.h4
-rw-r--r--src/lib/embryo/embryo_time.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/embryo/embryo_private.h b/src/lib/embryo/embryo_private.h
index b63dbbdc8b..4bf8ceb2c6 100644
--- a/src/lib/embryo/embryo_private.h
+++ b/src/lib/embryo/embryo_private.h
@@ -270,7 +270,7 @@ struct _Embryo_Program
270 void *data; 270 void *data;
271}; 271};
272 272
273#if defined (_MSC_VER) || (defined (__SUNPRO_C) && __SUNPRO_C < 0x5100) 273#if (defined (__SUNPRO_C) && __SUNPRO_C < 0x5100)
274# pragma pack(1) 274# pragma pack(1)
275# define EMBRYO_STRUCT_PACKED 275# define EMBRYO_STRUCT_PACKED
276#elif defined (__GNUC__) || (defined (__SUNPRO_C) && __SUNPRO_C >= 0x5100) 276#elif defined (__GNUC__) || (defined (__SUNPRO_C) && __SUNPRO_C >= 0x5100)
@@ -306,7 +306,7 @@ struct _Embryo_Header
306 int nametable; /* name table, file version 7 only */ 306 int nametable; /* name table, file version 7 only */
307} EMBRYO_STRUCT_PACKED; 307} EMBRYO_STRUCT_PACKED;
308 308
309#if defined _MSC_VER || (defined (__SUNPRO_C) && __SUNPRO_C < 0x5100) 309#if (defined (__SUNPRO_C) && __SUNPRO_C < 0x5100)
310# pragma pack() 310# pragma pack()
311#endif 311#endif
312 312
diff --git a/src/lib/embryo/embryo_time.c b/src/lib/embryo/embryo_time.c
index 1e74816458..be32be7a14 100644
--- a/src/lib/embryo/embryo_time.c
+++ b/src/lib/embryo/embryo_time.c
@@ -5,10 +5,6 @@
5#include <sys/time.h> 5#include <sys/time.h>
6#include <time.h> 6#include <time.h>
7 7
8#ifdef _MSC_VER
9# include <winsock2.h>
10#endif
11
12#ifdef _WIN32 8#ifdef _WIN32
13# include <Evil.h> 9# include <Evil.h>
14#endif 10#endif