mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
util: use _WIN32 instead of WIN32
MinGW defines only _WIN32, but doesn't have fcntl, so we need to use the windows path. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
parent
f1fe656a92
commit
16bc3073cb
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@
|
|||
* Based on weston shared/os-compatibility.c
|
||||
*/
|
||||
|
||||
#ifndef WIN32
|
||||
#ifndef _WIN32
|
||||
#include "anon_file.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue