Skip to content

Commit

Permalink
Fix compilation error using zig c++.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-n committed Jan 19, 2024
1 parent a9bb2a1 commit 0c64d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion global.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ along with Clonepoint. If not, see <http://www.gnu.org/licenses/>.
#define ToRadian(x) ((x) * MY_PI / 180.0f)
#define ToDegree(x) ((x) * 180.0f / MY_PI)

#if DEBUG
#ifdef DEBUG
#define Assert(x) if (!x) { printf("Assertion failed!\n"); *(int*)0 = 0; }
#else
#define Assert(x)
Expand Down

0 comments on commit 0c64d23

Please sign in to comment.