home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / libg++-2.7.1-bin.lha / lib / g++-include / neralloc.h < prev    next >
C/C++ Source or Header  |  1996-10-12  |  897b  |  39 lines

  1. /*
  2.  *
  3.  * Copyright (c) 1994
  4.  * Hewlett-Packard Company
  5.  *
  6.  * Permission to use, copy, modify, distribute and sell this software
  7.  * and its documentation for any purpose is hereby granted without fee,
  8.  * provided that the above copyright notice appear in all copies and
  9.  * that both that copyright notice and this permission notice appear
  10.  * in supporting documentation.  Hewlett-Packard Company makes no
  11.  * representations about the suitability of this software for any
  12.  * purpose.  It is provided "as is" without express or implied warranty.
  13.  *
  14.  */
  15.  
  16. #ifndef NEARALLOC_H
  17. #define NEARALLOC_H
  18.  
  19. #ifdef FARALLOC_H
  20. #undef FARALLOC_H
  21. #define __FARALLOC_WAS_DEFINED
  22. #endif
  23.  
  24. #define __far __near
  25. #define far_allocator near_allocator
  26. #include <faralloc.h>
  27. #undef __far
  28. #undef far_allocator
  29.  
  30. #undef FARALLOC_H
  31.  
  32. #ifdef __FARALLOC_WAS_DEFINED
  33. #define FARALLOC_H
  34. #undef  __FARALLOC_WAS_DEFINED
  35. #endif
  36.  
  37. #endif
  38.  
  39.