Skip to content

Commit

Permalink
Fix NOMINMAX macro redefined issue (#3641)
Browse files Browse the repository at this point in the history
* Fix PSkip fast algorithm from screen-sharing

* Fix NOMINMAX macro redefined issue

---------

Co-authored-by: Yu-Chen (Eric) Sun <[email protected]>
  • Loading branch information
YCSun-Meta and Yu-Chen (Eric) Sun authored Mar 29, 2023
1 parent 290eea3 commit 09a4f3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codec/common/inc/crt_util_safe_x.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
#include <time.h>

#if defined(_WIN32)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#include <sys/types.h>
#include <sys/timeb.h>
Expand Down

0 comments on commit 09a4f3e

Please sign in to comment.