Skip to content

Commit

Permalink
Fix compilation on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumechereau committed Aug 9, 2021
1 parent 39669fd commit c5c1a6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/yocto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
#define STB_IMAGE_STATIC
#define STB_IMAGE_WRITE_STATIC

// Fix compilation on Windows.
#ifdef NOMINMAX
#undef NOMINMAX
#endif


#include "../ext_src/yocto/yocto_bvh.cpp"
#include "../ext_src/yocto/yocto_image.cpp"
#include "../ext_src/yocto/yocto_scene.cpp"
Expand Down

0 comments on commit c5c1a6b

Please sign in to comment.