Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-04-05 08:23:50 +0400
committerChristopher Faylor <me@cgf.cx>2009-04-05 08:23:50 +0400
commit66eaf280ac52dbda8c75fb326a36b24fb02ca008 (patch)
treefa39a91608057b5535e234cca1bcb70a5c07c9e3 /winsup/cygwin/net.cc
parent80317fe50fac71de0a1afec48d0b7936ac2c022e (diff)
* net.cc: Undefine NOERROR and DELETE to avoid compiler warnings.
* shared_info.h (CURR_SHARED_MAGIC): Update. * spawn.cc (spawn_guts): Avoid copying one line command line argument if it hasn't been filled out.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 4ea6ffedf..cb0a5cdf4 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -14,6 +14,12 @@ details. */
#define __INSIDE_CYGWIN_NET__
#include "winsup.h"
+
+/* unfortunately defined in windows header file but used in
+ cygwin header files too */
+#undef NOERROR
+#undef DELETE
+
#include "miscfuncs.h"
#include <ctype.h>
#include <wchar.h>