Skip to content

Commit

Permalink
Fix building with clang 15 on OSX bytedeco#609
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Sep 28, 2022
1 parent f77f8d7 commit d1d1620
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/bytedeco/javacpp/tools/Generator.java
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ boolean classes(boolean handleExceptions, boolean defineAdapters, boolean conver
out.println("#elif defined(__APPLE__) && defined(__OBJC__)");
out.println(" #include <TargetConditionals.h>");
out.println(" #include <Foundation/Foundation.h>");
out.println("#elif defined(__APPLE__)");
out.println(" #include <TargetConditionals.h>");
out.println("#endif");
out.println();
out.println("#ifdef __linux__");
Expand Down

0 comments on commit d1d1620

Please sign in to comment.