diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/os/os_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/os/os_process.c b/src/gallium/auxiliary/os/os_process.c index ef38e1d689f..3e060b969b6 100644 --- a/src/gallium/auxiliary/os/os_process.c +++ b/src/gallium/auxiliary/os/os_process.c @@ -32,7 +32,7 @@ #if defined(PIPE_SUBSYSTEM_WINDOWS_USER) # include <windows.h> -#elif defined(__GLIBC__) +#elif defined(__GLIBC__) || defined(__CYGWIN__) # include <errno.h> #elif defined(PIPE_OS_BSD) || defined(PIPE_OS_APPLE) # include <stdlib.h> @@ -68,7 +68,7 @@ os_get_process_name(char *procname, size_t size) name = lpProcessName; -#elif defined(__GLIBC__) +#elif defined(__GLIBC__) || defined(__CYGWIN__) name = program_invocation_short_name; #elif defined(PIPE_OS_BSD) || defined(PIPE_OS_APPLE) /* *BSD and OS X */ |