Skip to content

Commit

Permalink
Makefile: Remove winmm linkage
Browse files Browse the repository at this point in the history
- All uses of timeBeginPeriod() are replaced with NtSetTimerResolution dynamic resolving
  • Loading branch information
LekKit authored Mar 3, 2024
1 parent c22bfba commit f3cde7c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,6 @@ ifeq ($(OS),windows)
override LDFLAGS += -static
BIN_EXT := .exe
LIB_EXT := .dll
# Link to winmm / WinCE mmtimer for timeBeginPeriod()
ifneq (,$(findstring main, $(shell $(CC) $(CFLAGS) $(LDFLAGS) -lwinmm 2>&1)))
override LDFLAGS += -lwinmm
else
override LDFLAGS += -lmmtimer
endif
else

LIB_EXT := .so
Expand Down

0 comments on commit f3cde7c

Please sign in to comment.