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:
authorEarnie Boyd <earnie@users.sf.net>2000-11-21 05:50:03 +0300
committerEarnie Boyd <earnie@users.sf.net>2000-11-21 05:50:03 +0300
commit6126c12345d31cdd4714b3bb40ba54f13347016d (patch)
tree90236da9edcf2f702e06f006f9eac38d53a6aac4 /winsup/mingw/profile
parentd5b692284b02ca019ed50fa33790c38f5c905d00 (diff)
* include/direct.h: add guard around MSVCRT-only prototytpes
* include/io.h: add __int64 struct definitions and function prototypes; add guard for MSVCRT-only prototypes * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX * include/stdio.h: add wchar function prototypes (__MSVCRT__); put wchar functions together to make sync with wchar.h easier * include/stdlib.h: add wide char functions (__MSVCRT__) * include/string.h: add string collation functions ( __MSVCRT__) * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__) * include/tchar.h: add macros and macro function definitions * include/wchar.h: add wide char function prototypes ( __MSVCRT__ ); enclose more functions in __MSVCRT__ guard; some oldname wide char function prototypes #if (0)'d * profile/gmon.h: add guard around BSD-ish typedefs
Diffstat (limited to 'winsup/mingw/profile')
-rw-r--r--winsup/mingw/profile/gmon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/mingw/profile/gmon.h b/winsup/mingw/profile/gmon.h
index c9f1cac8f..ddcd48986 100644
--- a/winsup/mingw/profile/gmon.h
+++ b/winsup/mingw/profile/gmon.h
@@ -51,10 +51,12 @@
#include <profile.h>
#ifdef __MINGW32__
+#if !defined _BSDTYPES_DEFINED
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
+#define _BSDTYPES_DEFINED
#endif
/*