* winsup.h: Reorganize to avoid use of experimental stuff.
* shortcut.cc: Move winsup.h first in include order.
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
			
		||||
2001-11-27  Christopher Faylor  <cgf@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* winsup.h: Reorganize to avoid use of experimental stuff.
 | 
			
		||||
	* shortcut.cc: Move winsup.h first in include order.
 | 
			
		||||
 | 
			
		||||
2001-11-27  Christopher Faylor  <cgf@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* cygwin.din (ualarm): New export.
 | 
			
		||||
 
 | 
			
		||||
@@ -11,8 +11,8 @@ Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
 | 
			
		||||
details. */
 | 
			
		||||
 | 
			
		||||
#define WIN32_LEAN_AND_MEAN
 | 
			
		||||
#include <shlobj.h>
 | 
			
		||||
#include "winsup.h"
 | 
			
		||||
#include <shlobj.h>
 | 
			
		||||
#include <ctype.h>
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
#include <sys/mount.h>
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,13 @@ details. */
 | 
			
		||||
 | 
			
		||||
#define NO_COPY __attribute__((section(".data_cygwin_nocopy")))
 | 
			
		||||
 | 
			
		||||
#ifdef EXPCGF
 | 
			
		||||
#define DECLARE_TLS_STORAGE char **tls[4096] __attribute__ ((unused))
 | 
			
		||||
#else
 | 
			
		||||
#define DECLARE_TLS_STORAGE do {} while (0)
 | 
			
		||||
#define _WINBASE2_H
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
 | 
			
		||||
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199900L
 | 
			
		||||
@@ -272,11 +279,4 @@ extern HMODULE cygwin_hmodule;
 | 
			
		||||
#define winsock_active (wsadata.wVersion < 512)
 | 
			
		||||
extern struct WSAData wsadata;
 | 
			
		||||
 | 
			
		||||
#ifdef EXPCGF
 | 
			
		||||
#define DECLARE_TLS_STORAGE char **tls[4096] __attribute__ ((unused))
 | 
			
		||||
#else
 | 
			
		||||
#define DECLARE_TLS_STORAGE do {} while (0)
 | 
			
		||||
#define _WINBASE2_H
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif /* defined __cplusplus */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user