Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/libcec/platform/adl/adl-edid.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
#include "platform/util/edid.h"

#if !defined(__WINDOWS__)
// ADL's headers spell the memory allocation callback __stdcall unconditionally.
// It used to be defined away for non-Windows inside adl_sdk.h itself; the ADL
// SDK 18 headers no longer do that, so do it here and leave them pristine.
#if !defined(__stdcall)
#define __stdcall
#endif

#include "adl_sdk.h"
#include <dlfcn.h>
#include <stdlib.h>
Expand Down
Loading