~brandontschaefer/miral/fix-unsigned-to-long-overflow

« back to all changes in this revision

Viewing changes to miral/both_versions.h

  • Committer: Tarmac
  • Author(s): Alan Griffiths
  • Date: 2017-06-16 12:22:12 UTC
  • mfrom: (553.4.4 miral2)
  • Revision ID: tarmac-20170616122212-43cstpz52tlve1g2
Remove more code that supports Mir versions before 0.26.

Approved by mir-ci-bot, Michał Sawicz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#define MIRAL_FAKE_NEW_SYMBOL(old_sym, new_sym)\
28
28
    extern "C" __attribute__((alias(#old_sym))) void new_sym();
29
29
 
30
 
#if (MIR_SERVER_VERSION >= MIR_VERSION_NUMBER(0, 26, 0))
31
 
    #define MIRAL_BOTH_VERSIONS(old_sym, new_sym)\
32
 
    MIRAL_FAKE_OLD_SYMBOL(old_sym, new_sym)
33
 
#else
34
 
    #define MIRAL_BOTH_VERSIONS(old_sym, new_sym)\
35
 
    MIRAL_FAKE_NEW_SYMBOL(old_sym, new_sym)
36
 
#endif
 
30
#define MIRAL_BOTH_VERSIONS(old_sym, new_sym)\
 
31
MIRAL_FAKE_OLD_SYMBOL(old_sym, new_sym)
37
32
 
38
33
#endif //MIRAL_BOTH_VERSIONS_H