1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2013 - Scilab Enterprises - Simon MARCHETTO
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- CLI SHELL MODE -->
10 // <-- WINDOWS ONLY -->
12 // <-- Non-regression test for bug 12852 -->
14 // <-- Bugzilla URL -->
15 // http://bugzilla.scilab.org/show_bug.cgi?id=12852
17 // <-- Short Description -->
18 // Visual Studio 2012 SDK configuration is incorrect.
22 src = ['#include <windows.h>'
23 'int create_directory(char* path)'
25 ' return CreateDirectory(path, NULL);';
27 srcfile = 'test_windows_sdk.c';
30 libn = ilib_for_link('test_windows_sdk', srcfile, [], "c");
31 assert_checktrue(libn <> 0);