mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Factor out UNUSED macro to header file
This is so it can be used in other files without having to copy-paste the define.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "MakeAndPlay.h"
|
||||
|
||||
#define UNUSED(expr) (void)(expr)
|
||||
#include "Unused.h"
|
||||
|
||||
#ifdef MAKEANDPLAY
|
||||
#ifdef STEAM_NETWORK
|
||||
|
||||
6
desktop_version/src/Unused.h
Normal file
6
desktop_version/src/Unused.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef UNUSED_H
|
||||
#define UNUSED_H
|
||||
|
||||
#define UNUSED(expr) (void)(expr)
|
||||
|
||||
#endif /* UNUSED_H */
|
||||
Reference in New Issue
Block a user