Team Fortress 2 Source Code as on 22/4/2020
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.

155 lines
3.5 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. /*
  9. *
  10. * Copyright (c) 1998-9
  11. * Dr John Maddock
  12. *
  13. * Permission to use, copy, modify, distribute and sell this software
  14. * and its documentation for any purpose is hereby granted without fee,
  15. * provided that the above copyright notice appear in all copies and
  16. * that both that copyright notice and this permission notice appear
  17. * in supporting documentation. Dr John Maddock makes no representations
  18. * about the suitability of this software for any purpose.
  19. * It is provided "as is" without express or implied warranty.
  20. *
  21. */
  22. /*
  23. * FILE re_lib.h
  24. * VERSION 2.12
  25. * Automatic library file inclusion.
  26. */
  27. #ifndef RE_LIB_H
  28. #define RE_LIB_H
  29. #if defined(_MSC_VER) && !defined(RE_BUILD_DLL)
  30. #ifdef _DLL
  31. #ifdef _DEBUG
  32. #pragma comment(lib, "mre200dl.lib")
  33. #else // DEBUG
  34. #pragma comment(lib, "mre200l.lib")
  35. #endif // _DEBUG
  36. #else // _DLL
  37. #ifdef _MT
  38. #ifdef _DEBUG
  39. #pragma comment(lib, "mre200dm.lib")
  40. #else //_DEBUG
  41. #pragma comment(lib, "mre200m.lib")
  42. #endif //_DEBUG
  43. #else //_MT
  44. #ifdef _DEBUG
  45. #pragma comment(lib, "mre200d.lib")
  46. #else //_DEBUG
  47. #pragma comment(lib, "mre200.lib")
  48. #endif //_DEBUG
  49. #endif //_MT
  50. #endif //_DLL
  51. #endif //_MSC_VER
  52. #if defined(__BORLANDC__) && !defined(RE_BUILD_DLL)
  53. #if (__BORLANDC__ > 0x520) && !defined(_NO_VCL)
  54. #define JM_USE_VCL
  55. #endif
  56. #if __BORLANDC__ <= 0x520
  57. #ifdef JM_USE_VCL
  58. #ifdef _RTLDLL
  59. #pragma comment(lib, "b2re200lv.lib")
  60. #else
  61. #pragma comment(lib, "b2re200v.lib")
  62. #endif
  63. #else // VCL
  64. #ifdef _RTLDLL
  65. #ifdef __MT__
  66. #pragma comment(lib, "b2re200lm.lib")
  67. #else // __MT__
  68. #pragma comment(lib, "b2re200l.lib")
  69. #endif // __MT__
  70. #else //_RTLDLL
  71. #ifdef __MT__
  72. #pragma comment(lib, "b2re200m.lib")
  73. #else // __MT__
  74. #pragma comment(lib, "b2re200.lib")
  75. #endif // __MT__
  76. #endif // _RTLDLL
  77. #endif // VCL
  78. #elif __BORLANDC__ <= 0x530
  79. #ifdef JM_USE_VCL
  80. #ifdef _RTLDLL
  81. #pragma comment(lib, "b3re200lv.lib")
  82. #else
  83. #pragma comment(lib, "b3re200v.lib")
  84. #endif
  85. #else // VCL
  86. #ifdef _RTLDLL
  87. #ifdef __MT__
  88. #pragma comment(lib, "b3re200lm.lib")
  89. #else // __MT__
  90. #pragma comment(lib, "b3re200l.lib")
  91. #endif // __MT__
  92. #else //_RTLDLL
  93. #ifdef __MT__
  94. #pragma comment(lib, "b3re200m.lib")
  95. #else // __MT__
  96. #pragma comment(lib, "b3re200.lib")
  97. #endif // __MT__
  98. #endif // _RTLDLL
  99. #endif // VCL
  100. #else // Version: 0x540
  101. #ifdef JM_USE_VCL
  102. #ifdef _RTLDLL
  103. #pragma comment(lib, "b4re200lv.lib")
  104. #else
  105. #pragma comment(lib, "b4re200v.lib")
  106. #endif
  107. #else // VCL
  108. #ifdef _RTLDLL
  109. #ifdef __MT__
  110. #pragma comment(lib, "b4re200lm.lib")
  111. #else // __MT__
  112. #pragma comment(lib, "b4re200l.lib")
  113. #endif // __MT__
  114. #else //_RTLDLL
  115. #ifdef __MT__
  116. #pragma comment(lib, "b4re200m.lib")
  117. #else // __MT__
  118. #pragma comment(lib, "b4re200.lib")
  119. #endif // __MT__
  120. #endif // _RTLDLL
  121. #endif // VCL
  122. #endif
  123. #endif //__BORLANDC__
  124. #endif // RE_LIB_H