# SDL: cmake,os2: fix SDL\_TIMER\_UNIX -\> SDL\_TIMER\_OS2 typo

**URL:** <https://discourse.libsdl.org/t/sdl-cmake-os2-fix-sdl-timer-unix-sdl-timer-os2-typo/69462>\
**Category:** SDL Commits\
**Created:** [October 2, 2026, 10:13am UTC](https://discourse.libsdl.org/t/sdl-cmake-os2-fix-sdl-timer-unix-sdl-timer-os2-typo/69462 "2026-10-02T10:13:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [October 2, 2026, 10:13am UTC](https://discourse.libsdl.org/t/sdl-cmake-os2-fix-sdl-timer-unix-sdl-timer-os2-typo/69462/1 "2026-10-02T10:13:26Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/595668b7d7c880da0e62f0caf5081047036de75d>

```diff
From 595668b7d7c880da0e62f0caf5081047036de75d Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 1 Oct 2026 23:55:40 +0300
Subject: [PATCH] cmake,os2: fix SDL_TIMER_UNIX -> SDL_TIMER_OS2 typo

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0f0618838bda..abe54cb2dc8e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2834,7 +2834,7 @@ elseif(OS2)
   endif()
 
   if(SDL_TIMERS)
- set(SDL_TIMER_UNIX 1)
+ set(SDL_TIMER_OS2 1)
     file(GLOB OS2_TIMER_SOURCES ${SDL2_SOURCE_DIR}/src/timer/os2/*.c)
     list(APPEND SOURCE_FILES ${OS2_TIMER_SOURCES})
     set(HAVE_SDL_TIMERS TRUE)

```
