From 500a2c4c59fdf24b57b9d4a29c9208ffa8a3e90c Mon Sep 17 00:00:00 2001 From: Felisp Date: Thu, 23 Nov 2023 00:38:42 +0100 Subject: [PATCH] Fix broken ifdef, not sure why it was breaking it Probably some historical reasons. When like this, it works with current GCC --- threeDKit/quickmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threeDKit/quickmath.h b/threeDKit/quickmath.h index c14b1b2..69212ec 100644 --- a/threeDKit/quickmath.h +++ b/threeDKit/quickmath.h @@ -60,7 +60,7 @@ typedef struct { #define max(x,y) (((x) > (y)) ? (x) : (y)) #define min(x,y) (((x) < (y)) ? (x) : (y)) -#ifndef __GNUC__ +#ifdef __GNUC__ double fsqr (double x); int lsqr (int x);