Skip to content

Commit

Permalink
API breakage in Pd 0.55.1+.
Browse files Browse the repository at this point in the history
  • Loading branch information
agraef committed Aug 31, 2024
1 parent cf8df51 commit e8d9b24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pdlua.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ void initialise_lua_state()
# error "Pd version is too new, please file a bug report"
#endif

#if PD_MINOR_VERSION > 55 || PD_MINOR_VERSION == 55 && PD_BUGFIX_VERSION > 0
// API breakage in Pd 0.55.1+
#define sys_trytoopenone(dir, name, ext, dirresult, nameresult, size, bin) sys_trytoopenit(dir, name, ext, dirresult, nameresult, size, bin, 1)
#endif

#ifdef UNUSED
#elif defined(__GNUC__)
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
Expand Down

0 comments on commit e8d9b24

Please sign in to comment.