Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

build - Unbreak world

* Fix issue w/ last commit

Submitted-by: marino
  • Loading branch information...
commit 7f32c88b6c6c84a79453c827d74ffe84f7199b7a 1 parent 262e0d7
Matthew Dillon authored
View
2  sys/cpu/i386/include/stdint.h
@@ -116,7 +116,7 @@ typedef volatile int __atomic_intr_t;
/*
* Its convenient to put these here rather then create another header file.
*/
-#if __GNUC_PREREQ__(4, 1)
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)
#define __offsetof(type, field) __builtin_offsetof(type, field)
#else
#ifndef __cplusplus
View
2  sys/cpu/x86_64/include/stdint.h
@@ -132,7 +132,7 @@ typedef volatile int __atomic_intr_t;
/*
* Its convenient to put these here rather then create another header file.
*/
-#if __GNUC_PREREQ__(4, 1)
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)
#define __offsetof(type, field) __builtin_offsetof(type, field)
#else
#ifndef __cplusplus
Please sign in to comment.
Something went wrong with that request. Please try again.