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.

58 lines
1.5KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2022 - 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 7 End-User License
  8. Agreement and JUCE Privacy Policy.
  9. End User License Agreement: www.juce.com/juce-7-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. #ifdef __OBJC__
  37. #if JUCE_MAC
  38. #include <Cocoa/Cocoa.h>
  39. #elif JUCE_IOS
  40. #include <UIKit/UIKit.h>
  41. #else
  42. #error
  43. #endif
  44. #endif
  45. #include <objc/runtime.h>
  46. #include <objc/objc.h>
  47. #include <objc/message.h>
  48. #endif