From 9f64325446ec0baf11f0f5f99c8484a15bbd1ab0 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Thu, 9 Mar 2023 09:14:34 +0000 Subject: [PATCH] Resave all projects --- extras/Projucer/JuceLibraryCode/BinaryData.cpp | 12 +++++++++--- extras/Projucer/JuceLibraryCode/BinaryData.h | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/extras/Projucer/JuceLibraryCode/BinaryData.cpp b/extras/Projucer/JuceLibraryCode/BinaryData.cpp index e40f60a0a9..d76dd25fb0 100644 --- a/extras/Projucer/JuceLibraryCode/BinaryData.cpp +++ b/extras/Projucer/JuceLibraryCode/BinaryData.cpp @@ -8639,10 +8639,16 @@ static const unsigned char temp_binary_data_67[] = "\r\n" " static bool isDirectory (const std::string& path)\r\n" " {\r\n" -" struct stat64 info;\r\n" +" #if defined (__FreeBSD__) || defined (__OpenBSD__)\r\n" +" #define JUCE_STAT stat\r\n" +" #else\r\n" +" #define JUCE_STAT stat64\r\n" +" #endif\r\n" +"\r\n" +" struct JUCE_STAT info;\r\n" "\r\n" " return ! path.empty()\r\n" -" && stat64 (path.c_str(), &info) == 0\r\n" +" && JUCE_STAT (path.c_str(), &info) == 0\r\n" " && ((info.st_mode & S_IFDIR) != 0);\r\n" " }\r\n" "\r\n" @@ -9013,7 +9019,7 @@ const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) case 0xe8b08520: numBytes = 1050; return colourscheme_light_xml; case 0x7c03d519: numBytes = 3005; return juce_runtime_arch_detection_cpp; case 0x295b6f43: numBytes = 1212; return juce_LinuxSubprocessHelper_cpp; - case 0xef269d3a: numBytes = 12182; return juce_SimpleBinaryBuilder_cpp; + case 0xef269d3a: numBytes = 12344; return juce_SimpleBinaryBuilder_cpp; default: break; } diff --git a/extras/Projucer/JuceLibraryCode/BinaryData.h b/extras/Projucer/JuceLibraryCode/BinaryData.h index b7ba3b0de6..63f981786e 100644 --- a/extras/Projucer/JuceLibraryCode/BinaryData.h +++ b/extras/Projucer/JuceLibraryCode/BinaryData.h @@ -210,7 +210,7 @@ namespace BinaryData const int juce_LinuxSubprocessHelper_cppSize = 1212; extern const char* juce_SimpleBinaryBuilder_cpp; - const int juce_SimpleBinaryBuilder_cppSize = 12182; + const int juce_SimpleBinaryBuilder_cppSize = 12344; // Number of elements in the namedResourceList and originalFileNames arrays. const int namedResourceListSize = 68;