home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextLibrary / Frameworks / InterfaceBuilder.framework / Versions / A / Headers / IBSystem.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-17  |  697 b   |  46 lines

  1. /* InterfaceBuilder - IBSystem.h
  2.  * Copyright (c) 1995-1997 NeXT Software, Inc.
  3.  * All rights reserved.
  4.  */
  5.  
  6. /* System-dependencies for InterfaceBuilder framework. */
  7.  
  8. #ifndef _IB_SYSTEM_H
  9. #define _IB_SYSTEM_H
  10.  
  11. #ifndef IB_EXTERN
  12.  
  13. #if defined(__MACH__) || defined(SOLARIS)
  14.  
  15. //
  16. // For MACH or SOLARIS.
  17. //
  18.  
  19. #ifdef __cplusplus
  20. #define IB_EXTERN    extern "C"
  21. #else
  22. #define IB_EXTERN    extern
  23. #endif
  24.  
  25. #elif defined(WIN32)
  26.  
  27. //
  28. // For Windows.
  29. //
  30.  
  31. #ifndef IB_DLL_EXPORT
  32. #define IB_DLL_EXPORT __declspec(dllimport)
  33. #endif
  34.  
  35. #ifdef __cplusplus
  36. #define IB_EXTERN    extern "C" IB_DLL_EXPORT
  37. #else
  38. #define IB_EXTERN    IB_DLL_EXPORT extern
  39. #endif
  40.  
  41. #endif    /* Systems */
  42.  
  43. #endif    /* IB_EXTERN */
  44.  
  45. #endif    /* _IB_SYSTEM_H */
  46.