You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
621 B

--- gensio.cpp.orig Thu Dec 12 19:13:08 2002
+++ gensio.cpp Fri Jan 3 14:08:27 2003
@@ -16,12 +16,16 @@
#else
#undef __STRICT_ANSI__ /* for __MINGW32__ */
#define _BSD_SOURCE 1 /* vsnprintf(); may be emulated with fixup_vsnprintf() */
+#ifndef __FreeBSD__
#define _POSIX_SOURCE 1 /* also popen() */
+#endif
#define _POSIX_C_SOURCE 2 /* also popen() */
#define _XOPEN_SOURCE_EXTENDED 1 /* Digital UNIX lstat */
#define _XPG4_2 1 /* SunOS 5.7 lstat() */
+#ifndef __FreeBSD__
#undef _XOPEN_SOURCE /* pacify gcc-3.1 */
#define _XOPEN_SOURCE 1 /* popen() on Digital UNIX */
+#endif
#endif
#include "gensio.hpp"