File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -1741,16 +1741,16 @@ remove them if not needed.
1741
1741
1742
1742
#if !defined(_WIN32) && !defined(__APPLE__)
1743
1743
#include < malloc.h> // for aligned_alloc()
1744
- #endif
1745
-
1746
- #if defined(__APPLE__)
1747
- #include < cstdlib>
1748
- void *aligned_alloc (size_t alignment, size_t size)
1749
- {
1750
- void *pointer;
1751
- posix_memalign (&pointer, alignment, size);
1752
- return pointer;
1753
- }
1744
+ #endif
1745
+
1746
+ #if defined(__APPLE__)
1747
+ #include < cstdlib>
1748
+ void *aligned_alloc (size_t alignment, size_t size)
1749
+ {
1750
+ void *pointer;
1751
+ posix_memalign (&pointer, alignment, size);
1752
+ return pointer;
1753
+ }
1754
1754
#endif
1755
1755
1756
1756
// Normal assert to check for programmer's errors, especially in Debug configuration.
You can’t perform that action at this time.
0 commit comments