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.

51 lines
1.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 7 technical preview.
  4. Copyright (c) 2022 - Raw Material Software Limited
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For the technical preview this file cannot be licensed commercially.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. #if JUCE_WINDOWS
  14. #undef _WIN32_WINNT
  15. #define _WIN32_WINNT 0x500
  16. #undef STRICT
  17. #define STRICT 1
  18. #include <windows.h>
  19. #include <float.h>
  20. #if JUCE_MSVC
  21. #pragma warning (disable : 4312 4355)
  22. #endif
  23. #ifdef __INTEL_COMPILER
  24. #pragma warning (disable : 1899)
  25. #endif
  26. #elif JUCE_LINUX || JUCE_BSD
  27. #include <float.h>
  28. #include <sys/time.h>
  29. #include <arpa/inet.h>
  30. #elif JUCE_MAC || JUCE_IOS
  31. #ifdef __OBJC__
  32. #if JUCE_MAC
  33. #include <Cocoa/Cocoa.h>
  34. #elif JUCE_IOS
  35. #include <UIKit/UIKit.h>
  36. #else
  37. #error
  38. #endif
  39. #endif
  40. #include <objc/runtime.h>
  41. #include <objc/objc.h>
  42. #include <objc/message.h>
  43. #endif