From c59f78f9735c2d8f1adca59a2f6d4bd0336cf969 Mon Sep 17 00:00:00 2001
From: Kacper Kasper <kacperkasper@gmail.com>
Date: Fri, 3 Aug 2018 23:35:30 +0200
Subject: Haiku fix


diff --git a/fontforge/splinefont.h b/fontforge/splinefont.h
index 6906cb4..0cf17a8 100644
--- a/fontforge/splinefont.h
+++ b/fontforge/splinefont.h
@@ -2582,7 +2582,7 @@ extern void debug_printHint( StemInfo *h, char* msg );
 
 #include "ustring.h"
 
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__HAIKU__)
 #define BAD_LOCALE_HACK
 typedef char* locale_t;
 #define LC_GLOBAL_LOCALE ((locale_t)-1)
-- 
2.16.4

