Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.7 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : ExpDef.h //
  3. // //
  4. // DESCRIPTION : Definitions of 'dllexp'. //
  5. // //
  6. // AUTHOR : BarakH //
  7. // //
  8. // HISTORY : //
  9. // Mar 22 1998 BarakH Init. //
  10. // Oct 15 1998 BarakH Move to Comet SLM. //
  11. // //
  12. // Copyright (C) 1996 Microsoft Corporation All Rights Reserved //
  13. /////////////////////////////////////////////////////////////////////////////
  14. #ifndef EXPDEF_H_INCLUDED
  15. #define EXPDEF_H_INCLUDED
  16. #ifndef dllexp
  17. /////////////////////////////////////////////////////////////////////////////
  18. // EXPORT_COMET_LOG is defined only in the log DLL project settings.
  19. // This causes dllexp to be defined as __declspec( dllexport ) only when
  20. // building the DLL. Otherwise the definition is empty so the log functions
  21. // are not exported by other code that uses the headers of the log DLL.
  22. /////////////////////////////////////////////////////////////////////////////
  23. #ifdef EXPORT_COMET_LOG
  24. #define dllexp __declspec( dllexport )
  25. #else // ! defined EXPORT_COMET_LOG
  26. #define dllexp
  27. #endif // EXPORT_COMET_LOG
  28. #endif // ! defined dllexp
  29. #endif // EXPDEF_H_INCLUDED