Subversion Repositories Kolibri OS

Rev

Rev 4383 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4383 Rev 6326
Line 277... Line 277...
277
#   define ATTRIBUTE_UNUSED_LABEL
277
#   define ATTRIBUTE_UNUSED_LABEL
278
#  endif
278
#  endif
279
# endif
279
# endif
280
#endif
280
#endif
Line -... Line 281...
-
 
281
 
-
 
282
/* Similarly to ARG_UNUSED below.  Prior to GCC 3.4, the C++ frontend
-
 
283
   couldn't parse attributes placed after the identifier name, and now
281
 
284
   the entire compiler is built with C++.  */
-
 
285
#ifndef ATTRIBUTE_UNUSED
282
#ifndef ATTRIBUTE_UNUSED
286
#if GCC_VERSION >= 3004
-
 
287
#  define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
-
 
288
#else
-
 
289
#define ATTRIBUTE_UNUSED
283
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
290
#endif
Line 284... Line 291...
284
#endif /* ATTRIBUTE_UNUSED */
291
#endif /* ATTRIBUTE_UNUSED */
285
 
292
 
286
/* Before GCC 3.4, the C++ frontend couldn't parse attributes placed after the
293
/* Before GCC 3.4, the C++ frontend couldn't parse attributes placed after the
Line 414... Line 421...
414
#define EXPORTED_CONST extern const
421
#define EXPORTED_CONST extern const
415
#else
422
#else
416
#define EXPORTED_CONST const
423
#define EXPORTED_CONST const
417
#endif
424
#endif
Line -... Line 425...
-
 
425
 
-
 
426
/* Be conservative and only use enum bitfields with C++ or GCC.
-
 
427
   FIXME: provide a complete autoconf test for buggy enum bitfields.  */
-
 
428
 
-
 
429
#ifdef __cplusplus
-
 
430
#define ENUM_BITFIELD(TYPE) enum TYPE
-
 
431
#elif (GCC_VERSION > 2000)
-
 
432
#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE
-
 
433
#else
-
 
434
#define ENUM_BITFIELD(TYPE) unsigned int
-
 
435
#endif
418
 
436
 
419
#ifdef __cplusplus
437
#ifdef __cplusplus
420
}
438
}
Line 421... Line 439...
421
#endif
439
#endif