Skip to content

Commit

Permalink
[win32] make sure that _cdecl and _declspec are properly defined when…
Browse files Browse the repository at this point in the history
… including xbmc_audioenc_types.h
  • Loading branch information
Montellese committed Jun 9, 2014
1 parent 4fd4051 commit 5e9d3b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions xbmc/addons/include/xbmc_audioenc_types.h
Expand Up @@ -22,9 +22,16 @@
#ifndef __AUDIOENC_TYPES_H__
#define __AUDIOENC_TYPES_H__

#ifdef TARGET_WINDOWS
#include <windows.h>
#else
#ifndef __cdecl
#define __cdecl
#endif
#ifndef __declspec
#define __declspec(X)
#endif
#endif

#include <stdint.h>

Expand Down

0 comments on commit 5e9d3b1

Please sign in to comment.