Changeset 9ddbf3e in buchla-emu for emu/all.h


Ignore:
Timestamp:
02/24/2018 06:51:40 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
2cd18e3
Parents:
77d8df8
Message:

Code review changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • emu/all.h

    r77d8df8 r9ddbf3e  
    3030#include <SDL2/SDL_net.h>
    3131#include <SDL2/SDL_ttf.h>
     32
     33// work around RtMidi's C++-isms
     34
     35#pragma GCC diagnostic push
     36#pragma GCC diagnostic ignored "-Wstrict-prototypes"
     37
     38typedef struct RtMidiWrapper RtMidiWrapper;
     39
     40#include <rtmidi/rtmidi_c.h>
     41
     42#pragma GCC diagnostic pop
    3243
    3344#define inf(...) SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, __VA_ARGS__);
     
    6576extern const char *font;
    6677
     78extern int32_t mid_port;
     79
    6780extern SDL_atomic_t run;
    6881
     
    7083extern uint32_t ser_win;
    7184extern uint32_t lcd_win;
    72 
    73 extern uint32_t mid_port;
    7485
    7586extern void sdl_init(void);
Note: See TracChangeset for help on using the changeset viewer.