From 94fa0a8e4d0e722dbc8ed7c57f0835cbde2a7d22 Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Tue, 27 Feb 2018 11:23:51 +0100 Subject: [PATCH] Normalized end of line characters after editing on Apple. --- src/vk_mem_alloc.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index cc9d52c..24d4a44 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1741,16 +1741,16 @@ remove them if not needed. #if !defined(_WIN32) && !defined(__APPLE__) #include // for aligned_alloc() -#endif - -#if defined(__APPLE__) -#include -void *aligned_alloc(size_t alignment, size_t size) -{ - void *pointer; - posix_memalign(&pointer, alignment, size); - return pointer; -} +#endif + +#if defined(__APPLE__) +#include +void *aligned_alloc(size_t alignment, size_t size) +{ + void *pointer; + posix_memalign(&pointer, alignment, size); + return pointer; +} #endif // Normal assert to check for programmer's errors, especially in Debug configuration.