summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/moldname.def.in
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-03-26 22:23:25 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-03-26 22:23:25 +0000
commiteba631d6a9514cd81b4b22578a770f831a66d546 (patch)
treed7380f362a9dafb16568fb0f1b7ee7542018b060 /winsup/mingw/moldname.def.in
parentfb1c4e20f487f457ef8bb9cf619ace1df07cd4fd (diff)
downloadcygnal-eba631d6a9514cd81b4b22578a770f831a66d546.tar.gz
cygnal-eba631d6a9514cd81b4b22578a770f831a66d546.tar.bz2
cygnal-eba631d6a9514cd81b4b22578a770f831a66d546.zip
* moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL).
(wpopen): Add if !(__CRTDLL). * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to preserve comments. (moldname-crtdll.def rule): Likewise. * moldname-msvcrt.def: Regenerate. * moldname-crtdll.def: Regenerate. * include/stdio.h (wpopen):Use prototype, not a define. (_swnprintf): Add prototype. (_vswnprintf): Likewise. Tidy up whitespace. * include/wchar.h (_swnprintf): Add prototype. (_vswnprintf): Likewise. Tidy up whitespace.
Diffstat (limited to 'winsup/mingw/moldname.def.in')
-rw-r--r--winsup/mingw/moldname.def.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/winsup/mingw/moldname.def.in b/winsup/mingw/moldname.def.in
index 7e90cb374..c0032aff6 100644
--- a/winsup/mingw/moldname.def.in
+++ b/winsup/mingw/moldname.def.in
@@ -33,9 +33,9 @@ chsize
close
creat
cwait
-#if (__MSVCRT__)
+#if !(__CRTDLL__)
daylight DATA
-#endif
+#endif
dup
dup2
ecvt
@@ -114,7 +114,7 @@ strupr
swab
tell
tempnam
-#if (__MSVCRT__)
+#if !(__CRTDLL__)
timezone DATA
#endif
; export tzname for both. See <time.h>
@@ -133,6 +133,9 @@ wcsnset
wcsrev
wcsset
wcsupr
+#if !(__CRTDLL__)
+wpopen
+#endif
write
y0
y1