cygwin: convert most #ifndef __x86_64__ to #ifdef __i386__
Address the real offender Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -20,7 +20,7 @@ extern "C" {
|
||||
|
||||
#define _CYGWIN_SIGNAL_STRING "cYgSiGw00f"
|
||||
|
||||
#ifndef __x86_64__
|
||||
#ifdef __i386__
|
||||
/* DEPRECATED INTERFACES. These are restricted to MAX_PATH length.
|
||||
Don't use in modern applications. They don't exist on x86_64. */
|
||||
extern int cygwin_win32_to_posix_path_list (const char *, char *)
|
||||
@@ -39,7 +39,7 @@ extern int cygwin_conv_to_posix_path (const char *, char *)
|
||||
__attribute__ ((__deprecated__));
|
||||
extern int cygwin_conv_to_full_posix_path (const char *, char *)
|
||||
__attribute__ ((__deprecated__));
|
||||
#endif /* !__x86_64__ */
|
||||
#endif /* __i386__ */
|
||||
|
||||
/* Use these interfaces in favor of the above. */
|
||||
|
||||
@@ -310,7 +310,7 @@ struct per_process
|
||||
uint32_t dll_minor;
|
||||
|
||||
struct _reent **impure_ptr_ptr;
|
||||
#ifndef __x86_64__
|
||||
#ifdef __i386__
|
||||
char ***envptr;
|
||||
#endif
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
#define __DIRENT_VERSION 2
|
||||
|
||||
#ifndef __x86_64__
|
||||
#ifdef __i386__
|
||||
#pragma pack(push,4)
|
||||
#endif
|
||||
#define _DIRENT_HAVE_D_TYPE
|
||||
@@ -28,7 +28,7 @@ struct dirent
|
||||
__uint32_t __d_internal1;
|
||||
char d_name[NAME_MAX + 1];
|
||||
};
|
||||
#ifndef __x86_64__
|
||||
#ifdef __i386__
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
@@ -40,7 +40,7 @@ struct dirent
|
||||
#define __DIRENT_COOKIE 0xdede4242
|
||||
#endif
|
||||
|
||||
#ifndef __x86_64__
|
||||
#ifdef __i386__
|
||||
#pragma pack(push,4)
|
||||
#endif
|
||||
typedef struct __DIR
|
||||
@@ -56,7 +56,7 @@ typedef struct __DIR
|
||||
void *__fh;
|
||||
unsigned __flags;
|
||||
} DIR;
|
||||
#ifndef __x86_64__
|
||||
#ifdef __i386__
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user