Change dll export feature to a switch.

This commit is contained in:
jbrodman
2015-02-23 11:43:06 -08:00
parent 122142e439
commit 9baade2cb5
4 changed files with 8 additions and 1 deletions

3
ispc.h
View File

@@ -612,6 +612,9 @@ struct Globals {
/** Indicates that alignment in memory allocation routines should be
forced to have given value. -1 value means natural alignment for the platforms. */
int forceAlignment;
/** When true, flag non-static functions with dllexport attribute on Windows. */
bool dllExport;
};
enum {