mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 05:40:27 +01:00
include stdint.h for BSD
This commit is contained in:
parent
024b5896f0
commit
49b2d2e90f
1 changed files with 9 additions and 10 deletions
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 6.3
|
||||
* Version: 6.5
|
||||
*
|
||||
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
|
||||
*
|
||||
|
|
@ -71,16 +71,15 @@
|
|||
|
||||
|
||||
/* Get typedefs for uintptr_t and friends */
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#include <BaseTsd.h>
|
||||
#if _MSC_VER == 1200
|
||||
typedef UINT_PTR uintptr_t;
|
||||
#endif
|
||||
#if defined(__MINGW32__)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#if defined(__MINGW32__) || defined(__NetBSD__)
|
||||
# include <stdint.h>
|
||||
#elif defined(_WIN32)
|
||||
# include <BaseTsd.h>
|
||||
# if _MSC_VER == 1200
|
||||
typedef UINT_PTR uintptr_t;
|
||||
# endif
|
||||
#else
|
||||
#include <inttypes.h>
|
||||
# include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) && !defined(BUILD_FOR_SNAP)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue