]> git.buserror.net Git - polintos/scott/priv.git/blob - include/c++/stl/mem.h
minor doc updates
[polintos/scott/priv.git] / include / c++ / stl / mem.h
1 /*
2  * Copyright (c) 1999
3  * Boris Fomitchev
4  *
5  * This material is provided "as is", with absolutely no warranty expressed
6  * or implied. Any use is at your own risk.
7  *
8  * Permission to use or copy this software for any purpose is hereby granted
9  * without fee, provided the above notices are retained on all copies.
10  * Permission to modify the code and to distribute modified code is granted,
11  * provided the above notices are retained, and a notice that the code was
12  * modified is included with the above copyright notice.
13  *
14  */
15
16 #ifndef _STLP_mem_h
17
18 #if !defined (_STLP_OUTERMOST_HEADER_ID)
19 #  define _STLP_OUTERMOST_HEADER_ID 0x245
20 #  include <stl/_prolog.h>
21 #elif (_STLP_OUTERMOST_HEADER_ID == 0x245) && !defined (_STLP_DONT_POP_HEADER_ID)
22 #  define _STLP_DONT_POP_HEADER_ID
23 #endif
24
25 #if (_STLP_OUTERMOST_HEADER_ID != 0x245) || defined (_STLP_DONT_POP_HEADER_ID)
26 #  include _STLP_NATIVE_C_HEADER(mem.h)
27 #else
28 #  if defined (__BORLANDC__) && defined (__USING_CNAME__)
29 #    define _USING_CNAME_WAS_UNDEFINED
30 #    undef __USING_CNAME__
31 #  endif
32
33 #  include _STLP_NATIVE_C_HEADER(mem.h)
34
35 #  if defined (__BORLANDC__) && defined (_USING_CNAME_WAS_UNDEFINED)
36 #    define __USING_CNAME__
37 #    define _STLP_mem_h 1
38 #    undef _USING_CNAME_WAS_UNDEFINED
39 #  endif
40 #endif
41
42 #if (_STLP_OUTERMOST_HEADER_ID == 0x245)
43 #  if !defined (_STLP_DONT_POP_HEADER_ID)
44 #    include <stl/_epilog.h>
45 #    undef  _STLP_OUTERMOST_HEADER_ID
46 #  endif
47 #  undef  _STLP_DONT_POP_HEADER_ID
48 #endif
49
50 #endif /* _STLP_mem_h */
51
52 /* Local Variables:
53  * mode:C++
54  * End:
55  */