Re: [ovs-dev] [PATCH V3] windefs: common include for MSVC

2013-12-27 Thread Ben Pfaff
On Thu, Dec 19, 2013 at 06:23:12PM +, Alin Serdean wrote: > Signed-off-by: Alin Serdean I think that this is about ready to go. strtok_r should be defined in string.h.in. We already have workarounds for snprintf and vsnprintf in stdio.h.in. So, I folded in the following incremental and wil

Re: [ovs-dev] [PATCH V3] windefs: common include for MSVC

2013-12-19 Thread Alin Serdean
Signed-off-by: Alin Serdean --- diff --git a/Makefile.am b/Makefile.am index 0faed67..558bf63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,6 +10,11 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = datapath AM_CPPFLAGS = $(SSL_CFLAGS) + +if WIN32 +AM_CPPFLAGS += -I $(top_srcdir)/include/windows +endif