Skip to content

Commit

Permalink
fix compile error on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
tjira authored Apr 19, 2024
1 parent d6f317e commit f8d8125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libint2/boys.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <type_traits>
#include <vector>

#ifdef WIN32
#if defined(_MSC_VER) || defined(WIN32)
#define posix_memalign(p, a, s) \
(((*(p)) = _aligned_malloc((s), (a))), *(p) ? 0 : errno)
#define posix_memfree(p) ((_aligned_free((p))))
Expand Down

0 comments on commit f8d8125

Please sign in to comment.