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/_cprolog.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 # if defined (_STLP_HAS_INCLUDE_NEXT) 27 # include_next <mem.h> 28 # else 29 # include _STLP_NATIVE_C_HEADER(mem.h) 30 # endif 31 #else 32 # if defined (__BORLANDC__) && defined (__USING_CNAME__) 33 # define _USING_CNAME_WAS_UNDEFINED 34 # undef __USING_CNAME__ 35 # endif 36 37 # if defined (_STLP_HAS_INCLUDE_NEXT) 38 # include_next <mem.h> 39 # else 40 # include _STLP_NATIVE_C_HEADER(mem.h) 41 # endif 42 43 # if defined (__BORLANDC__) && defined (_USING_CNAME_WAS_UNDEFINED) 44 # define __USING_CNAME__ 45 # define _STLP_mem_h 1 46 # undef _USING_CNAME_WAS_UNDEFINED 47 # endif 48 #endif 49 50 #if (_STLP_OUTERMOST_HEADER_ID == 0x245) 51 # if !defined (_STLP_DONT_POP_HEADER_ID) 52 # include <stl/_epilog.h> 53 # undef _STLP_OUTERMOST_HEADER_ID 54 # endif 55 # undef _STLP_DONT_POP_HEADER_ID 56 #endif 57 58 #endif /* _STLP_mem_h */ 59