summaryrefslogtreecommitdiff
path: root/include/dolphin/os/OSUtil.h
blob: e565be714feaa0ffa89d79268ddfe2505cf24b98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _DOLPHIN_OS_OSUTIL_H
#define _DOLPHIN_OS_OSUTIL_H

#include "dolphin/types.h"

#ifdef __cplusplus
extern "C" {
#endif // ifdef __cplusplus

// Macro to make it more clear when something is an address, and to prevent intellisense errors.
#ifdef __MWERKS__
#define AT_ADDRESS(addr) : (addr)
#else
#define AT_ADDRESS(addr)
#endif

#ifdef __cplusplus
};
#endif // ifdef __cplusplus

#endif