1
0
mirror of https://github.com/prirun/p50em.git synced 2026-03-09 03:49:25 +00:00

em: add macro to force gcc to obey inline keyword

History: when the emulator was first developed on OSX 10.4 (PowerPC),
the inline keyword was added by profiling with Apple's pretty
fantastic Shark profiler.  Apple's version of gcc had an -fobey-inline
switch that the makefile used to force gcc to obey the inline keyword.
This macro does the same thing
This commit is contained in:
Jim
2020-03-09 01:12:45 -04:00
parent 9054d69446
commit 4a6a3aff5d

2
em.c
View File

@@ -1,3 +1,5 @@
#define inline inline __attribute__((always_inline))
/* Pr1me Computer emulator, Jim Wilcoxson (prirun@gmail.com), April 4, 2005
Copyright (C) 2005-2019, Jim Wilcoxson. All Rights Reserved.