Skip to content

Commit

Permalink
Change IMPORT() and EXPORT() to extern; it is not possible to compile…
Browse files Browse the repository at this point in the history
… neither DropPlugin nor FileDialogPlugin as shared (i.e. external plugin) anyway...
  • Loading branch information
marceltaeumel committed Oct 27, 2022
1 parent b870fcc commit 5c13ad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platforms/win32/plugins/DropPlugin/sqWin32Drop.c
Expand Up @@ -31,7 +31,7 @@ extern HWND stWindow;
// then the GlobalFree below will corrupt the Windows heap. I know; no one
// should do this; but users can be capricious. We would rather risk a storage
// leak than have users deal with unexpected and hard to debug crashes.
EXPORT(int) okToFreeSTGMEDIUMHGLOBAL = 1;
extern int okToFreeSTGMEDIUMHGLOBAL = 1;

#if 0
#define DPRINTF(x) printf x
Expand Down
Expand Up @@ -57,7 +57,7 @@ static sqWin32FileDialog allDialogs[DLG_MAX];
// then the GlobalFree below will corrupt the Windows heap. I know; no one
// should do this; but users can be capricious. We would rather risk a storage
// leak than have users deal with unexpected and hard to debug crashes.
IMPORT(int) okToFreeSTGMEDIUMHGLOBAL;
extern int okToFreeSTGMEDIUMHGLOBAL;

/***************************************************************************/
/***************************************************************************/
Expand Down

0 comments on commit 5c13ad5

Please sign in to comment.