File: bool.h

package info (click to toggle)
sjaakii 1.4.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,628 kB
  • sloc: ansic: 16,287; cpp: 4,543; makefile: 15
file content (12 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#if defined(_MSC_VER)
#   include <stdint.h>
#   if !defined __cplusplus
      // FIXME: hack
#      define inline
      typedef int bool;
#      define true  1
#      define false 0
#   endif
#else
#   include <stdbool.h>
#endif