diff --git a/build-windows/pEpEngine.vcxproj b/build-windows/pEpEngine.vcxproj index 5d9359c6..9427c42b 100644 --- a/build-windows/pEpEngine.vcxproj +++ b/build-windows/pEpEngine.vcxproj @@ -68,8 +68,7 @@ Rpcrt4.lib;%(AdditionalDependencies) - - + "$(ProjDir)generate_code.cmd" "$(ProjDir).." @@ -95,8 +94,7 @@ Rpcrt4.lib;%(AdditionalDependencies) - - + "$(ProjDir)generate_code.cmd" "$(ProjDir).." diff --git a/sync/gen_codec.ysl2 b/sync/gen_codec.ysl2 index 695740af..75bb9b7a 100644 --- a/sync/gen_codec.ysl2 +++ b/sync/gen_codec.ysl2 @@ -103,12 +103,14 @@ tstylesheet { // This file is under GNU General Public License 3.0 // see LICENSE.txt + #include "platform.h" + #include "«yml:lcase(@name)»_codec.h" #include "../asn.1/«@name».h" #include "pEp_internal.h" #include "growing_buf.h" - PEP_STATUS decode_«@name»_message( + DYNAMIC_API PEP_STATUS decode_«@name»_message( const char *data, size_t size, «@name»_t **msg