Skip to content

Commit

Permalink
Session: fixed missing #niclude <direct.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Oct 12, 2024
1 parent bed1edc commit ae3c83a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib
Submodule lib updated 1 files
+1 −1 scopehal/EyeMask.cpp
3 changes: 2 additions & 1 deletion src/ngscopeclient/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@

#ifdef _WIN32
#include <windows.h>
#include <direct.h>
#include <shlwapi.h>
#else
#include <fcntl.h>
Expand Down Expand Up @@ -2139,7 +2140,7 @@ bool Session::SerializeWaveforms(const string& dataDir)
//Make the directory for the scope if needed
string scopedir = dataDir + "/scope_" + to_string(m_idtable[(Instrument*)scope.get()]) + "_waveforms";
#ifdef _WIN32
mkdir(scopedir.c_str());
_mkdir(scopedir.c_str());
#else
mkdir(scopedir.c_str(), 0755);
#endif
Expand Down

0 comments on commit ae3c83a

Please sign in to comment.