Skip to content

Commit

Permalink
Use WIN32_LEAN_AND_MEAN when including windows.h to avoid strange Win…
Browse files Browse the repository at this point in the history
…dows compile errors
  • Loading branch information
friedrichatgc committed Jan 9, 2023
1 parent 7e376dc commit d439e61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions h5plotserie/h5plotserie/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "curves.h"
#include <iostream>
#ifdef _WIN32
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
#else
# include "qt-unix-signals/sigwatch.h"
Expand Down

0 comments on commit d439e61

Please sign in to comment.