diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-08-27 17:13:23 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-08-27 17:13:23 +0300 |
commit | 2a2fd75ef90f18753d3d6ab33c30e60cd95bf174 (patch) | |
tree | 19ee41eeaff3e550af465cde7a57b39cb9471163 /source/blender/blenlib/BLI_system.h | |
parent | d667105ba96c777ff8eeefc25e5148d5086087f6 (diff) |
Cleanup: Fix build error with MSVC
`BLI_cpu_support_sse41` needs BLI_System.h.
Reviewers: brecht
Diffstat (limited to 'source/blender/blenlib/BLI_system.h')
-rw-r--r-- | source/blender/blenlib/BLI_system.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_system.h b/source/blender/blenlib/BLI_system.h index 19797ba23bc..8c0c9ad99bf 100644 --- a/source/blender/blenlib/BLI_system.h +++ b/source/blender/blenlib/BLI_system.h @@ -19,6 +19,10 @@ #include <stdio.h> +#ifdef __cplusplus +extern "C" { +#endif + /** \file * \ingroup bli */ @@ -53,4 +57,8 @@ int BLI_system_memory_max_in_megabytes_int(void); # define BLI_SYSTEM_PID_H <unistd.h> #endif +#ifdef __cplusplus +} +#endif + #endif /* __BLI_SYSTEM_H__ */ |