|
From: | Paul Eggert |
Subject: | Re: stdbool: Fix compilation error in C++ mode with MSVC 14 |
Date: | Sun, 4 Sep 2022 16:43:12 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 9/4/22 09:25, Bruno Haible wrote:
+# if !defined _MSC_VER +# define false false +# define true true +# endif
How about using "#ifndef true" instead? That will be more portable in the presence of other platforms with this portability issue.
[Prev in Thread] | Current Thread | [Next in Thread] |