diff options
author | John Emmas <john@creativepost.co.uk> | 2020-03-26 10:40:36 +0000 |
---|---|---|
committer | John Emmas <john@creativepost.co.uk> | 2020-03-26 10:40:36 +0000 |
commit | 4dd3d4effe6c76e97d2e0a915257570999b14574 (patch) | |
tree | daefcb1a868235abb29e7c172773ac2cddbe9bea /libs/pbd/pbd/windows_mmcss.h | |
parent | d7500056fc60d65753b473528f6f6a32d51ba19f (diff) |
Some initial changes (currently for libpbd only) to help a new contributer who's trying to build with MSVC2017
These changes compile okay for me (using VS2019) although they wouldn't link to my older-built libraries. Hopefully he'll be okay if he builds everything with the same compiler.
Diffstat (limited to 'libs/pbd/pbd/windows_mmcss.h')
-rw-r--r-- | libs/pbd/pbd/windows_mmcss.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/pbd/windows_mmcss.h b/libs/pbd/pbd/windows_mmcss.h index 43628509e2..6c61edfbe6 100644 --- a/libs/pbd/pbd/windows_mmcss.h +++ b/libs/pbd/pbd/windows_mmcss.h @@ -38,10 +38,12 @@ enum AVRT_PRIORITY { AVRT_PRIORITY_CRITICAL }; +#ifndef ERROR_INVALID_TASK_NAME enum error_codes { ERROR_INVALID_TASK_NAME = 1550, ERROR_INVALID_TASK_INDEX = 1551 }; +#endif bool LIBPBD_API initialize (); |