1 #include "lfds600_abstraction_internal.h"
7 /****************************************************************************/
8 #if (defined _WIN32 && defined _MSC_VER && !defined WIN_KERNEL_BUILD)
10 /* TRD : any Windows (user-mode) on any CPU with the Microsoft C compiler
12 _WIN32 indicates 64-bit or 32-bit Windows
13 _MSC_VER indicates Microsoft C compiler
14 !WIN_KERNEL_BUILD indicates Windows user-mode
17 void lfds600_abstraction_aligned_free( void *memory )
19 _aligned_free( memory );
30 /****************************************************************************/
31 #if (_XOPEN_SOURCE >= 600)
33 /* TRD : any OS on any CPU with any compiler with POSIX 6.00 or better
35 _XOPEN_SOURCE is actually set by the user, not by the compiler
36 it is the way the user signals to the compiler what
37 level of POSIX should be available
38 (it assumes of course the compiler has support for the given level of POSIX requested)
41 void lfds600_abstraction_aligned_free( void *memory )
54 /****************************************************************************/
55 #if (defined _WIN32 && defined _MSC_VER && defined WIN_KERNEL_BUILD)
57 /* TRD : any Windows (kernel) on any CPU with the Microsoft C compiler
59 _WIN32 indicates 64-bit or 32-bit Windows
60 _MSC_VER indicates Microsoft C compiler
61 WIN_KERNEL_BUILD indicates Windows kernel
64 void lfds600_abstraction_aligned_free( void *memory )
66 ExFreePoolWithTag( memory, 'sdfl' );