Browse Source

Fix the include path in MSVC build

rexim 4 years ago
parent
commit
b62d363133
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/ci.yml
  2. 1 1
      examples/ls.c

+ 1 - 1
.github/workflows/ci.yml

@@ -45,5 +45,5 @@ jobs:
         shell: cmd
         # this replaces default PowerShell, which can't fail the build
         run: |
-          cl.exe /I\examples examples\ls.c
+          cl.exe /I. examples\ls.c
           .\ls.exe

+ 1 - 1
examples/ls.c

@@ -5,7 +5,7 @@
 
 #ifdef _WIN32
 #    define MINIRENT_IMPLEMENTATION
-#    include "minirent.h"
+#    include <minirent.h>
 #else
 #    include <dirent.h>
 #endif // _WIN32