ifeq ($(ARCH),x86)
CROSS := i686-polintos-
-DEFS += -DBITFIELD_LE
+DEFS += -DBITFIELD_LE -D__LITTLE_ENDIAN
VALIDARCH := yes
endif
ifeq ($(ARCH),x64)
CROSS := x86_64-polintos-
-DEFS += -DBITFIELD_LE
+DEFS += -DBITFIELD_LE -D__LITTLE_ENDIAN
VALIDARCH := yes
endif
--- /dev/null
+#ifndef __stl_config__polintos_h
+#define __stl_config__polintos_h
+
+#define _STLP_PLATFORM "PolIntOS"
+#define _STLP_THREADS
+
+#ifdef __LITTLE_ENDIAN
+#define _STLP_LITTLE_ENDIAN 1
+#elif defined(__BIG_ENDIAN)
+#define _STLP_BIG_ENDIAN 1
+#else
+#error Unknown endianness
+#endif
+
+#define _STLP_NATIVE_INCLUDE_PATH ../std
+#define _STLP_NATIVE_C_INCLUDE_PATH ../../c/std
+
+#endif
#ifndef __stl_config__system_h
#define __stl_config__system_h
-#if defined (__sun)
+#if defined (polintos)
+# include <stl/config/_polintos.h>
+# if defined (__GNUC__)
+# include <stl/config/_gcc.h>
+# endif
+#elif defined (__sun)
# include <stl/config/_solaris.h>
# if defined (__GNUC__)
# include <stl/config/_gcc.h>