Moving --dllexport to proper help section under Windows ifdef

This commit is contained in:
Dmitry Babokin
2015-05-29 18:14:38 +03:00
parent 4d96244b29
commit 0ed674296f
2 changed files with 6 additions and 2 deletions

View File

@@ -985,7 +985,7 @@ Module::AddFunctionDeclaration(const std::string &name,
llvm::Function *function =
llvm::Function::Create(llvmFunctionType, linkage, functionName.c_str(),
module);
#ifdef ISPC_IS_WINDOWS
// Make export functions callable from DLLS.
if ((g->dllExport) && (storageClass != SC_STATIC)) {