Skip to content

Commit

Permalink
Update macro names
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed Apr 9, 2024
1 parent 58f99e7 commit 36c2ed5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lite_string.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#if LITE_NO_RESTRICT_
#if LITE_STRING_NO_RESTRICT

// Ignore the warning for redefining the 'restrict' keyword
#if __clang__
Expand All @@ -14,10 +14,10 @@
#if __clang__
#pragma clang diagnostic pop
#endif // __clang__
#endif // LITE_NO_RESTRICT_
#endif // LITE_STRING_NO_RESTRICT

#if __cplusplus
#if !LITE_NO_RESTRICT_ // The keyword has not been redefined
#if !LITE_STRING_NO_RESTRICT // The keyword has not been redefined
#if __GNUC__ || __clang__ || _MSC_VER // Support for '__restrict'

// Ignore the warning for redefining the 'restrict' keyword
Expand All @@ -36,7 +36,7 @@
#pragma clang diagnostic pop
#endif

#endif // LITE_NO_RESTRICT_
#endif // LITE_STRING_NO_RESTRICT

extern "C" {
#endif // __cplusplus
Expand Down

0 comments on commit 36c2ed5

Please sign in to comment.