IncludeLibpd.hpp
1 #pragma once
2 
3 // We do this to prevent picking up a potential system /usr/inclde/m_pd.h
4 #include <libpd/pure-data/src/m_pd.h>
5 
6 // Needed under Win32 as lld does not seem to be able to link to stuff declared "__declspec(dllimport) extern"
7 #if defined(_WIN32)
8 #if defined(EXTERN)
9 #undef EXTERN
10 #define EXTERN
11 #endif
12 #endif
13 
14 #include <z_libpd.h>