2 #include "libbenchmark_porting_abstraction_layer_internal.h"
8 /****************************************************************************/
9 #if( defined _MSC_VER )
10 /* TRD : MSVC compiler
12 an unfortunately necessary hack for MSVC
13 MSVC only defines __STDC__ if /Za is given, where /Za turns off MSVC C extensions -
14 which prevents Windows header files from compiling.
18 #define __STDC_HOSTED__ 1
25 /****************************************************************************/
26 #if( defined __STDC__ && __STDC_HOSTED__ == 1 && !defined KERNEL_MODE )
28 #define LIBBENCHMARK_PAL_PRINT_STRING
32 void libbenchmark_pal_print_string( char const * const string )
34 LFDS710_PAL_ASSERT( string != NULL );
36 printf( "%s", string );
49 /****************************************************************************/
50 #if( !defined LIBBENCHMARK_PAL_PRINT_STRING )
52 #pragma warning( disable : 4100 )
54 void libbenchmark_pal_print_string( char const * const string )
56 LFDS710_PAL_ASSERT( string != NULL );
61 #pragma warning( default : 4100 )