diff options
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 6 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/dirent.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 5990e469a..c5da87c65 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -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 diff --git a/winsup/cygwin/include/sys/dirent.h b/winsup/cygwin/include/sys/dirent.h index 049e87ad0..48688efe4 100644 --- a/winsup/cygwin/include/sys/dirent.h +++ b/winsup/cygwin/include/sys/dirent.h @@ -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 |