Mercurial > hg > xemacs-beta
comparison src/syswindows.h @ 1743:543769b89fed
[xemacs-hg @ 2003-10-14 05:02:57 by james]
New compiler.h contains compiler-specific defines. Use it everywhere.
author | james |
---|---|
date | Tue, 14 Oct 2003 05:03:13 +0000 |
parents | 29c45c1b64f3 |
children | ecf1ebac70d8 |
comparison
equal
deleted
inserted
replaced
1742:7f92ee59c996 | 1743:543769b89fed |
---|---|
68 # define CYGWIN_HEADERS | 68 # define CYGWIN_HEADERS |
69 # ifndef _WIN32_IE | 69 # ifndef _WIN32_IE |
70 # define _WIN32_IE 0x0400 | 70 # define _WIN32_IE 0x0400 |
71 # endif | 71 # endif |
72 | 72 |
73 #ifdef __cplusplus | 73 BEGIN_C_DECLS |
74 extern "C" { | |
75 #endif | |
76 | 74 |
77 /* Fucking GCC complains about "no previous prototype" for inline | 75 /* Fucking GCC complains about "no previous prototype" for inline |
78 functions. DUH! See DECLARE_INLINE_HEADER. */ | 76 functions. DUH! See DECLARE_INLINE_HEADER. */ |
79 extern __inline void *GetCurrentFiber (void); | 77 extern __inline void *GetCurrentFiber (void); |
80 extern __inline void *GetFiberData (void); | 78 extern __inline void *GetFiberData (void); |
81 | 79 |
82 #ifdef __cplusplus | 80 END_C_DECLS |
83 } | |
84 #endif | |
85 | 81 |
86 #endif | 82 #endif |
87 | 83 |
88 /* Defines for COM so it's usable in both C and C++. XECOMCALLn() calls a | 84 /* Defines for COM so it's usable in both C and C++. XECOMCALLn() calls a |
89 method with the specified number of parameters. XECOMID() surrounds a | 85 method with the specified number of parameters. XECOMID() surrounds a |
849 int mswindows_locale_to_oem_code_page (LCID lcid); | 845 int mswindows_locale_to_oem_code_page (LCID lcid); |
850 | 846 |
851 /* ------------------------- Filename conversion ------------------------- */ | 847 /* ------------------------- Filename conversion ------------------------- */ |
852 | 848 |
853 #ifdef CYGWIN | 849 #ifdef CYGWIN |
854 #ifdef __cplusplus | 850 |
855 extern "C" { | 851 BEGIN_C_DECLS |
856 #endif | 852 |
857 void cygwin_win32_to_posix_path_list (const char *, char *); | 853 void cygwin_win32_to_posix_path_list (const char *, char *); |
858 int cygwin_win32_to_posix_path_list_buf_size (const char *); | 854 int cygwin_win32_to_posix_path_list_buf_size (const char *); |
859 void cygwin_posix_to_win32_path_list (const char *, char *); | 855 void cygwin_posix_to_win32_path_list (const char *, char *); |
860 int cygwin_posix_to_win32_path_list_buf_size (const char *); | 856 int cygwin_posix_to_win32_path_list_buf_size (const char *); |
861 #ifdef __cplusplus | 857 |
862 } | 858 END_C_DECLS |
863 #endif | 859 |
864 #endif | 860 #endif |
865 | 861 |
866 #define LOCAL_FILE_FORMAT_TO_TSTR(path, out) \ | 862 #define LOCAL_FILE_FORMAT_TO_TSTR(path, out) \ |
867 do { \ | 863 do { \ |
868 Ibyte *lttff; \ | 864 Ibyte *lttff; \ |