Skip to content

Commit

Permalink
Fixed memset header req for win64.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbikker committed Nov 6, 2024
1 parent be8c8c4 commit 37c4587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiny_bvh.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ THE SOFTWARE.
// Visual Studio / C11
#include <malloc.h>
#include <math.h> // for sqrtf, fabs
#include <string.h> // for memset
#define ALIGNED( x ) __declspec( align( x ) )
#define ALIGNED_MALLOC( x ) ( ( x ) == 0 ? 0 : _aligned_malloc( ( x ), 64 ) )
#define ALIGNED_FREE( x ) _aligned_free( x )
Expand Down Expand Up @@ -353,7 +354,6 @@ class BVH
#ifdef TINYBVH_IMPLEMENTATION

#include <assert.h> // for assert
#include <string.h> // for memset
#ifdef BVH_USEAVX
#include "immintrin.h" // for __m256
#endif
Expand Down

0 comments on commit 37c4587

Please sign in to comment.