ROOTANA
Loading...
Searching...
No Matches
rootana_stdint.h
Go to the documentation of this file.
1#ifndef INCLUDE_rootana_stdintH
2#define INCLUDE_rootana_stdintH
3
4// We have to make our own definitions of uint32_t and uint16_t, since
5// rootcint (ROOT 5) on Macos 10.0 doesn't want to process stdint.h
6// T. Lindner
7
8#if defined(OS_DARWIN) && defined(HAVE_ROOT)
9
10#ifndef _UINT32_T
11#define _UINT32_T
12typedef unsigned int uint32_t;
13#endif /* _UINT32_T */
14
15#ifndef _UINT16_T
16#define _UINT16_T
17typedef unsigned short uint16_t;
18#endif /* _UINT16_T */
19
20
21#else
22
23#include <stdint.h>
24
25#endif
26
27
28#endif