certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/libCERTI Socket.hh


From: certi-cvs
Subject: [certi-cvs] certi/libCERTI Socket.hh
Date: Fri, 15 Jan 2010 15:07:19 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      10/01/15 15:07:19

Modified files:
        libCERTI       : Socket.hh 

Log message:
        Avoid warning on Windows+MinGW

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Socket.hh?cvsroot=certi&r1=3.17&r2=3.18

Patches:
Index: Socket.hh
===================================================================
RCS file: /sources/certi/certi/libCERTI/Socket.hh,v
retrieving revision 3.17
retrieving revision 3.18
diff -u -b -r3.17 -r3.18
--- Socket.hh   24 Nov 2009 21:44:47 -0000      3.17
+++ Socket.hh   15 Jan 2010 15:07:19 -0000      3.18
@@ -23,7 +23,9 @@
 #include "certi.hh"
 #include "Exception.hh"
 #ifdef _WIN32
+# ifndef NOMINMAX
 # define NOMINMAX
+# endif
 # include <winsock2.h>
 # include <Ws2tcpip.h>
 typedef u_long         in_addr_t;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]