Skip to content

Commit

Permalink
use dllexport for all Windows compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Nov 4, 2024
1 parent 3e0a801 commit 2605019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/api/libheif/heif.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ extern "C" {
// 1.18 5 7 1 1 1 1
// 1.19 6 7 2 1 1 1

#if defined(_MSC_VER) && !defined(LIBHEIF_STATIC_BUILD)
#if defined(_WIN32) && !defined(LIBHEIF_STATIC_BUILD)
#ifdef LIBHEIF_EXPORTS
#define LIBHEIF_API __declspec(dllexport)
#else
Expand Down

0 comments on commit 2605019

Please sign in to comment.