File: vcl_cstddef.h

package info (click to toggle)
insighttoolkit 3.6.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 94,956 kB
  • ctags: 74,981
  • sloc: cpp: 355,621; ansic: 195,070; fortran: 28,713; python: 3,802; tcl: 1,996; sh: 1,175; java: 583; makefile: 415; csh: 184; perl: 175
file content (33 lines) | stat: -rw-r--r-- 667 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef vcl_cstddef_h_
#define vcl_cstddef_h_
/*
  Peter Vanroose, esat.kuleuven.be
*/

#include "vcl_compiler.h"

/* This should define: sizeof(), size_t, and ptrdiff_t */
#if !VCL_CXX_HAS_HEADER_CSTDDEF
# include <stddef.h>
#elif defined(VCL_GCC) && !defined(GNU_LIBSTDCXX_V3)
# include <stddef.h>
#elif defined(VCL_VC60)
# include <cstddef>
#elif defined(VCL_METRO_WERKS)
# include <cstddef>
#else
# undef __size_t // this is a bug fix for HPPA
# include "iso/vcl_cstddef.h"
using std::size_t;
using std::ptrdiff_t;
#endif

#ifndef vcl_size_t
#define vcl_size_t size_t
#endif

#ifndef vcl_ptrdiff_t
#define vcl_ptrdiff_t ptrdiff_t
#endif

#endif // vcl_cstddef_h_