diff --git a/CacheLineSize.h b/CacheLineSize.h index 32bfa0c..797966d 100644 --- a/CacheLineSize.h +++ b/CacheLineSize.h @@ -6,6 +6,12 @@ // Returns the cache line size (in bytes) of the processor, or 0 on failure #include +#ifdef __cplusplus +extern "C" { +#endif size_t CacheLineSize(); +#ifdef __cplusplus +} +#endif -#endif \ No newline at end of file +#endif