mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-24 02:55:40 +08:00
Try to use stdint.h with gcc <= 4.4
There's no way to tell whether the architecture has its stdint.h, as __UINT_FAST64_TYPE__ built in define didn't exist yet. Redefining the types would break the build, and chances are we're not on some exotic architecture where stdint would be missing, so let's assume it exists.
This commit is contained in:
parent
ce6c2a069c
commit
f8cefb989c
@ -191,7 +191,7 @@
|
|||||||
* do nothing else. On the Mac OS X version of gcc this is _STDINT_H_.
|
* do nothing else. On the Mac OS X version of gcc this is _STDINT_H_.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if ((defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L) || (defined (__WATCOMC__) && (defined (_STDINT_H_INCLUDED) || __WATCOMC__ >= 1250)) || (defined(__GNUC__) && (defined(_STDINT_H) || defined(_STDINT_H_) || defined (__UINT_FAST64_TYPE__)) )) && !defined (_PSTDINT_H_INCLUDED)
|
#if ((defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L) || (defined (__WATCOMC__) && (defined (_STDINT_H_INCLUDED) || __WATCOMC__ >= 1250)) || (defined(__GNUC__) && (defined(_STDINT_H) || defined(_STDINT_H_) || defined (__UINT_FAST64_TYPE__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 4)) )) && !defined (_PSTDINT_H_INCLUDED)
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#define _PSTDINT_H_INCLUDED
|
#define _PSTDINT_H_INCLUDED
|
||||||
# ifndef PRINTF_INT64_MODIFIER
|
# ifndef PRINTF_INT64_MODIFIER
|
||||||
|
Loading…
Reference in New Issue
Block a user