home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / trn_12.zip / src / extern.h < prev    next >
C/C++ Source or Header  |  1992-12-28  |  1KB  |  48 lines

  1. /* $Id: EXTERN.h,v 4.4 1991/09/09 20:18:23 sob Exp sob $
  2.  *
  3.  * $Log: EXTERN.h,v $
  4.  * Revision 4.4  1991/09/09  20:18:23  sob
  5.  * release 4.4
  6.  *
  7.  *
  8.  * 
  9.  */
  10. /* This software is Copyright 1991 by Stan Barber. 
  11.  *
  12.  * Permission is hereby granted to copy, reproduce, redistribute or otherwise
  13.  * use this software as long as: there is no monetary profit gained
  14.  * specifically from the use or reproduction of this software, it is not
  15.  * sold, rented, traded or otherwise marketed, and this copyright notice is
  16.  * included prominently in any copy made. 
  17.  *
  18.  * The author make no claims as to the fitness or correctness of this software
  19.  * for any use whatsoever, and it is provided as is. Any use of this software
  20.  * is at the user's own risk. 
  21.  */
  22.  
  23. /*** OS2: chdir does not change the workingdrive if required,
  24.           but the news gcc-call _chdir2 does this.
  25.           The same problem occurs with getcwd, which return the
  26.           current drive excluding! the drive, but _getcwd2
  27.           includes the drive name.    ***/
  28. #ifndef _CHDIR2_DEF
  29. #define _CHDIR2_DEF
  30. #define chdir _chdir2
  31. #define getcwd _getcwd2
  32. #endif
  33.  
  34. #undef EXT
  35. #define EXT extern
  36.  
  37. #undef INIT
  38. #define INIT(x)
  39.  
  40. #undef DOINIT
  41.  
  42. /*** OS2: avoid some compiler-warnings, which occur because
  43.           of the uupc-rc-files-patches ***/
  44. #ifdef INTERN_H_INCLUDED
  45. #undef INTERN_H_INCLUDED
  46. #endif
  47.  
  48.