1
0

libopenmpt_internal.h 912 B

12345678910111213141516171819202122232425
  1. /*
  2. * libopenmpt_internal.h
  3. * ---------------------
  4. * Purpose: libopenmpt internal interface configuration, overruling the public interface configuration (only used and needed when building libopenmpt)
  5. * Notes : (currently none)
  6. * Authors: OpenMPT Devs
  7. * The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
  8. */
  9. #ifndef LIBOPENMPT_INTERNAL_H
  10. #define LIBOPENMPT_INTERNAL_H
  11. #include "libopenmpt_config.h"
  12. #ifdef __cplusplus
  13. #if defined(LIBOPENMPT_BUILD_DLL) || defined(LIBOPENMPT_USE_DLL)
  14. #if defined(_MSC_VER) && !defined(_DLL)
  15. /* #pragma message( "libopenmpt C++ interface is disabled if libopenmpt is built as a DLL and the runtime is statically linked. This is not supported by microsoft and cannot possibly work. Ever." ) */
  16. #undef LIBOPENMPT_CXX_API
  17. #define LIBOPENMPT_CXX_API LIBOPENMPT_API_HELPER_LOCAL
  18. #endif
  19. #endif
  20. #endif
  21. #endif /* LIBOPENMPT_INTERNAL_H */