diff options
author | vnugent <public@vaughnnugent.com> | 2024-04-25 17:45:42 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-04-25 17:45:42 -0400 |
commit | 6ff8bb11774c51fd341b7699a3938fd894995fbf (patch) | |
tree | 823ef4f5397e7ed96a5198a83d0c3b3145b3d127 /include/platform.h | |
parent | 7cb7a93de4f6f5e741bc5129e3d928e44f050930 (diff) |
refactor: Finish support and testing for mbedtls
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/platform.h b/include/platform.h index 8abaadd..ee21cf0 100644 --- a/include/platform.h +++ b/include/platform.h @@ -18,11 +18,15 @@ * along with noscrypt. If not, see http://www.gnu.org/licenses/. */ - /* -* Contains platform specific defintions +* Contains platform specific defintions */ +#pragma once + +#ifndef _NC_PLATFORM_H +#define _NC_PLATFORM_H + #if defined(_MSC_VER) || defined(WIN32) || defined(_WIN32) #define _NC_IS_WINDOWS #elif defined(__linux__) || defined(__unix__) || defined(__posix__) @@ -45,4 +49,6 @@ #else #define _nc_fn_inline #pragma message("Warning: No inline keyword defined for this compiler") -#endif
\ No newline at end of file +#endif + +#endif /* !_NC_PLATFORM_H */
\ No newline at end of file |