aboutsummaryrefslogtreecommitdiff
path: root/softfloat
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat')
-rw-r--r--softfloat/platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/softfloat/platform.h b/softfloat/platform.h
index 03dd429..48838cd 100644
--- a/softfloat/platform.h
+++ b/softfloat/platform.h
@@ -36,7 +36,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/*----------------------------------------------------------------------------
*----------------------------------------------------------------------------*/
+#include "config.h"
+#ifndef WORDS_BIGENDIAN
#define LITTLEENDIAN 1
+#endif
#define INLINE_LEVEL 5
#define SOFTFLOAT_FAST_INT64