Module Name:    src
Committed By:   christos
Date:           Thu Dec 24 04:16:01 UTC 2015

Modified Files:
        src/include: fenv.h

Log Message:
rearrange...


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/include/fenv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/fenv.h
diff -u src/include/fenv.h:1.16 src/include/fenv.h:1.17
--- src/include/fenv.h:1.16	Tue Dec 22 09:24:55 2015
+++ src/include/fenv.h	Wed Dec 23 23:16:00 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: fenv.h,v 1.16 2015/12/22 14:24:55 christos Exp $	*/
+/*	$NetBSD: fenv.h,v 1.17 2015/12/24 04:16:00 christos Exp $	*/
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -24,24 +24,23 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#ifndef _FENV_H_
+#define _FENV_H_
+
+#include <sys/featuretest.h>
 
 #if !defined(__aarch64__) && !defined(__arm__) && !defined(__i386__) \
     && !defined(__hppa__) && !defined(__powerpc__) && !defined(__mips__) \
     && !defined(__or1k__) && !defined(__riscv__) && !defined(__sparc__) \
     && !defined(__x86_64__)
-#ifndef __TEST_FENV
-#error	"fenv.h is currently not supported for this architecture"
-#endif
+# ifndef __TEST_FENV
+#  error	"fenv.h is currently not supported for this architecture"
+# endif
 #else
 # define __HAVE_FENV
+# include <machine/fenv.h>
 #endif
 
-#ifndef _FENV_H_
-#define _FENV_H_
-
-#include <sys/featuretest.h>
-#include <machine/fenv.h>
-
 __BEGIN_DECLS
 
 /* Function prototypes */

Reply via email to