[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] factor.c (NDEBUG): Define this before including <assert.h>, not
From: |
Paul Eggert |
Subject: |
[PATCH] factor.c (NDEBUG): Define this before including <assert.h>, not after. |
Date: |
Tue, 10 Mar 2009 00:58:50 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
coreutils/src/factor.c #defines NDEBUG after including <assert.h>. It's
supposed to be defined before. Here's a patch:
---
src/factor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/factor.c b/src/factor.c
index 83cd0a8..203b45b 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -30,8 +30,8 @@
#endif
-#include <assert.h>
#define NDEBUG 1
+#include <assert.h>
#include "system.h"
#include "error.h"
--
1.5.3.2
- [PATCH] factor.c (NDEBUG): Define this before including <assert.h>, not after.,
Paul Eggert <=