ObjFW  Check-in [0ca438498e]

Overview
Comment:Define __STDC_CONSTANT_MACROS if not defined.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0ca438498e9ef5d3b82fafa963cac5e2b052c845e06747165bea3664a9528d3d
User & Date: js on 2011-02-01 21:41:31
Other Links: manifest | tags
Context
2011-02-01
21:47
Get rid of another ObjC++ warning. check-in: 9d9881f26c user: js tags: trunk
21:41
Define __STDC_CONSTANT_MACROS if not defined. check-in: 0ca438498e user: js tags: trunk
21:24
Reorder imports in ObjFW.h to get rid of a warning on Win32. check-in: c12598e3be user: js tags: trunk
Changes

Modified src/OFObject.h from [b1fe4b2427] to [f957d3ca64].

15
16
17
18
19
20
21



22
23
24
25
26
27
28
 */

#import "objfw-defs.h"

#ifndef __STDC_LIMIT_MACROS
# define __STDC_LIMIT_MACROS
#endif




#include <stddef.h>
#include <stdint.h>

#ifdef OF_OBJFW_RUNTIME
# import <objfw-rt.h>
#else







>
>
>







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 */

#import "objfw-defs.h"

#ifndef __STDC_LIMIT_MACROS
# define __STDC_LIMIT_MACROS
#endif
#ifndef __STDC_CONSTANT_MACROS
# define __STDC_CONSTANT_MACROS
#endif

#include <stddef.h>
#include <stdint.h>

#ifdef OF_OBJFW_RUNTIME
# import <objfw-rt.h>
#else

Modified src/macros.h from [faed5c9c98] to [23260691a6].

15
16
17
18
19
20
21



22
23
24
25
26
27
28
 */

#import "objfw-defs.h"

#ifndef __STDC_LIMIT_MACROS
# define __STDC_LIMIT_MACROS
#endif




#include <stddef.h>
#include <stdint.h>

#ifdef __GNUC__
# define OF_INLINE inline __attribute__((always_inline))
# define OF_LIKELY(cond) __builtin_expect(!!(cond), 1)







>
>
>







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 */

#import "objfw-defs.h"

#ifndef __STDC_LIMIT_MACROS
# define __STDC_LIMIT_MACROS
#endif
#ifndef __STDC_CONSTANT_MACROS
# define __STDC_CONSTANT_MACROS
#endif

#include <stddef.h>
#include <stdint.h>

#ifdef __GNUC__
# define OF_INLINE inline __attribute__((always_inline))
# define OF_LIKELY(cond) __builtin_expect(!!(cond), 1)