The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

66 lines
1.7KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2020 - Raw Material Software Limited
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 6 End-User License
  8. Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
  9. End User License Agreement: www.juce.com/juce-6-licence
  10. Privacy Policy: www.juce.com/juce-privacy-policy
  11. Or: You may also use this code under the terms of the GPL v3 (see
  12. www.gnu.org/licenses).
  13. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  14. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  15. DISCLAIMED.
  16. ==============================================================================
  17. */
  18. #if JUCE_WINDOWS
  19. #undef _WIN32_WINNT
  20. #define _WIN32_WINNT 0x500
  21. #undef STRICT
  22. #define STRICT 1
  23. #include <windows.h>
  24. #include <float.h>
  25. #if JUCE_MSVC
  26. #pragma warning (disable : 4312 4355)
  27. #endif
  28. #ifdef __INTEL_COMPILER
  29. #pragma warning (disable : 1899)
  30. #endif
  31. #elif JUCE_LINUX || JUCE_BSD
  32. #include <float.h>
  33. #include <sys/time.h>
  34. #include <arpa/inet.h>
  35. #elif JUCE_MAC || JUCE_IOS
  36. #if ! (defined (JUCE_SUPPORT_CARBON) || defined (__LP64__))
  37. #define JUCE_SUPPORT_CARBON 1
  38. #endif
  39. #ifdef __OBJC__
  40. #if JUCE_MAC
  41. #include <Cocoa/Cocoa.h>
  42. #elif JUCE_IOS
  43. #include <UIKit/UIKit.h>
  44. #else
  45. #error
  46. #endif
  47. #endif
  48. #if JUCE_SUPPORT_CARBON && (! JUCE_IOS)
  49. #include <Carbon/Carbon.h>
  50. #endif
  51. #include <objc/runtime.h>
  52. #include <objc/objc.h>
  53. #include <objc/message.h>
  54. #endif