Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fbd6f253 authored by hhakim's avatar hhakim
Browse files

Fix gcc/linux compilation errors for types uint32/64_t declared twice.

error: conflicting declaration ‘typedef long unsigned int uint32_t’
error: conflicting declaration ‘typedef long long unsigned int uint64_t’
parent 35db3ee7
No related branches found
No related tags found
No related merge requests found
......@@ -12,11 +12,7 @@
#ifndef __MACH__
// WARNING :
// with the recent version of gcc
// this 2 definition can cause compile error of redefinition,
// in this case, comment the 2 following lines
#if !defined(__MACH__) && !defined(_STDINT_H) // from /usr/include/stdint.h and bits/stdint-uintn.h
typedef unsigned long int uint32_t;
typedef unsigned long long int uint64_t;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment