diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/libprofile/PathProfiling.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/runtime/libprofile/PathProfiling.c b/runtime/libprofile/PathProfiling.c index 161dfa0b24..9003c3f632 100644 --- a/runtime/libprofile/PathProfiling.c +++ b/runtime/libprofile/PathProfiling.c @@ -16,20 +16,20 @@ #include "Profiling.h" #include "llvm/Analysis/ProfileInfoTypes.h" #include <sys/types.h> -#if !defined(_MSC_VER) && !defined(__MINGW32__)
-#include <unistd.h>
-#else
-#include <io.h>
-#endif
+#if !defined(_MSC_VER) && !defined(__MINGW32__) +#include <unistd.h> +#else +#include <io.h> +#endif #include <string.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> // Must use __inline in Microsoft C -#if defined(_MSC_VER)
-#define inline __inline
-#endif
+#if defined(_MSC_VER) +#define inline __inline +#endif /* note that this is used for functions with large path counts, but it is unlikely those paths will ALL be executed */ |