mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Revert "[BugFix] Enums are only 2 bytes on some Devices"
This reverts commit 4ec34f6986
.
Reason for revert:
-fshort-enums makes them smaller if the explicitrly enumerated values will fit in a smaller type
Change-Id: I834dfd2b2039eda91bc02c9cf95a0f9dfc5783f6
This commit is contained in:
parent
4ec34f6986
commit
1fddea5e8e
18 changed files with 165 additions and 168 deletions
|
@ -102,12 +102,10 @@ enum codec_command_action {
|
|||
#ifdef HAVE_RECORDING
|
||||
CODEC_ACTION_STREAM_FINISH = 2,
|
||||
#endif
|
||||
|
||||
CODEC_ACTION_MIN = LONG_MIN,
|
||||
CODEC_ACTION_MAX = LONG_MAX,
|
||||
};
|
||||
|
||||
#define CODEC_ACTION_MIN (LONG_MIN)
|
||||
#define CODEC_ACTION_MAX = (LONG_MAX)
|
||||
|
||||
/* NOTE: To support backwards compatibility, only add new functions at
|
||||
the end of the structure. Every time you add a new function,
|
||||
remember to increase CODEC_API_VERSION. If you make changes to the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue