summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-12 17:45:59 -0500
committermidipix <writeonce@midipix.org>2016-12-12 17:45:59 -0500
commit9c42df500ad20de65dd1026d966d7d7a0da43e34 (patch)
treef5f36855b87fd87e71b3c4a0c46938776ce54b37 /src/internal
parentff22b1948a1f2ee7f62d915c543d46a379e2082e (diff)
downloadpemagine-9c42df500ad20de65dd1026d966d7d7a0da43e34.tar.bz2
pemagine-9c42df500ad20de65dd1026d966d7d7a0da43e34.tar.xz
internals: pe_impl.h: free-standing build env.: use __inline__ (cf. psxtypes).
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/pe_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/internal/pe_impl.h b/src/internal/pe_impl.h
index 313e1ac..c854824 100644
--- a/src/internal/pe_impl.h
+++ b/src/internal/pe_impl.h
@@ -19,7 +19,7 @@ struct pe_block {
};
-static inline int32_t pe_impl_strlen_ansi(const char * str)
+static __inline__ int32_t pe_impl_strlen_ansi(const char * str)
{
const char * ch;
const char * upper_bound;
@@ -35,7 +35,7 @@ static inline int32_t pe_impl_strlen_ansi(const char * str)
}
-static inline int32_t pe_impl_strlen_utf16(const wchar16_t * str)
+static __inline__ int32_t pe_impl_strlen_utf16(const wchar16_t * str)
{
const wchar16_t * wch;
const wchar16_t * upper_bound;
@@ -52,7 +52,7 @@ static inline int32_t pe_impl_strlen_utf16(const wchar16_t * str)
}
-static inline wchar16_t pe_impl_utf16_char_to_lower(const wchar16_t c)
+static __inline__ wchar16_t pe_impl_utf16_char_to_lower(const wchar16_t c)
{
return ((c >= 'A') && (c <= 'Z'))
? c + 'a' - 'A'