summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-14 18:41:46 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-14 18:41:46 +0000
commita79f85e6cf3911d0f5df62a954eaa963d6bb6558 (patch)
treef50e64baa55804a0213bdde249fc745f54d3e3aa /win32/win32.h
parentd51279d8627e069b9308bcfab3933e188a5277fc (diff)
* hash.c (ruby_setenv): remove USE_WIN32_RTL_ENV block since it's
obsoleted. * win32/win32.c, win32/win32.h: sort out #if 0 - #endif or others. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h52
1 files changed, 1 insertions, 51 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 0cf67f56a5a..6dda8658ee0 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -20,51 +20,6 @@
// Definitions for NT port of Perl
//
-//
-// GRRRR!!!! Windows Nonsense.
-// Define the following so we don't get tons of extra stuff
-// when we include windows.h
-//
-#if 0
-#define NOGDICAPMASKS
-#define NOVIRTUALKEYCODES
-#define NOWINMESSAGES
-#define NOWINSTYLES
-#define NOSYSMETRICS
-#define NOMENUS
-#define NOICONS
-#define NOKEYSTATES
-#define NOSYSCOMMANDS
-#define NORASTEROPS
-#define NOSHOWWINDOW
-#define OEMRESOURCE
-#define NOATOM
-#define NOCLIPBOARD
-#define NOCOLOR
-#define NOCTLMGR
-#define NODRAWTEXT
-#define NOGDI
-//#define NOKERNEL
-//#define NOUSER
-#define NONLS
-#define NOMB
-#define NOMEMMGR
-#define NOMETAFILE
-#define NOMINMAX
-#define NOMSG
-#define NOOPENFILE
-#define NOSCROLL
-#define NOSERVICE
-#define NOSOUND
-#define NOTEXTMETRIC
-#define NOWH
-#define NOWINOFFSETS
-#define NOCOMM
-#define NOKANJI
-#define NOHELP
-#define NOPROFILER
-#define NODEFERWINDOWPOS
-#endif
//
// Ok now we can include the normal include files.
@@ -79,7 +34,7 @@
#undef OpenFile
#endif
//
-// We\'re not using Microsoft\'s "extensions" to C for
+// We're not using Microsoft's "extensions" to C for
// Structured Exception Handling (SEH) so we can nuke these
//
#undef try
@@ -264,11 +219,6 @@ extern GIDTYPE getegid (void);
extern int setuid (int);
extern int setgid (int);
-
-#if 0
-extern int sys_nerr;
-extern char *sys_errlist[];
-#endif
extern char *mystrerror(int);
#define strerror(e) mystrerror(e)