Normalized end of line characters after editing on Apple.

This commit is contained in:
Adam Sawicki 2018-02-27 11:23:51 +01:00
parent 1240398638
commit 94fa0a8e4d

View File

@ -1741,16 +1741,16 @@ remove them if not needed.
#if !defined(_WIN32) && !defined(__APPLE__) #if !defined(_WIN32) && !defined(__APPLE__)
#include <malloc.h> // for aligned_alloc() #include <malloc.h> // for aligned_alloc()
#endif #endif
#if defined(__APPLE__) #if defined(__APPLE__)
#include <cstdlib> #include <cstdlib>
void *aligned_alloc(size_t alignment, size_t size) void *aligned_alloc(size_t alignment, size_t size)
{ {
void *pointer; void *pointer;
posix_memalign(&pointer, alignment, size); posix_memalign(&pointer, alignment, size);
return pointer; return pointer;
} }
#endif #endif
// Normal assert to check for programmer's errors, especially in Debug configuration. // Normal assert to check for programmer's errors, especially in Debug configuration.