$NetBSD: patch-libstdc++-v3_include_c_global_cmath,v 1.1 2024/04/01 14:33:58 js Exp $

--- libstdc++-v3/include/c_global/cmath.orig	2023-07-07 07:08:22.000000000 +0000
+++ libstdc++-v3/include/c_global/cmath
@@ -49,6 +49,10 @@
 #ifndef _GLIBCXX_CMATH
 #define _GLIBCXX_CMATH 1
 
+#ifdef __QNX__
+#define __CORRECT_ISO_CPP_MATH_H_PROTO
+#endif
+
 // Get rid of those macros defined in <math.h> in lieu of real functions.
 #undef div
 #undef acos
