Skip to content

Commit cf7bc69

Browse files
authored
Update stb_library.hpp
1 parent 6eb31c3 commit cf7bc69

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

3rdparty/stb_library.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
#pragma once
22

3+
#if defined(__clang__)
34
#pragma clang diagnostic push
45
#pragma clang diagnostic ignored "-Wcast-align"
6+
#endif
7+
58
#define STB_IMAGE_IMPLEMENTATION
69
#include <stb/stb_image.h>
10+
11+
#if defined(__clang__)
712
#pragma clang diagnostic pop
13+
#endif

0 commit comments

Comments
 (0)