---
name: "SDL_PLATFORM_WIN32"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_PLATFORM_WIN32"
---

# SDL\_PLATFORM\_WIN32(3)

A preprocessor macro that is only defined if compiling for desktop Windows.

## NAME

SDL\_PLATFORM\_WIN32 - A preprocessor macro that is only defined if compiling for desktop Windows.

## HEADER FILE

Defined in SDL3/SDL\_platform\_defines.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_PLATFORM\_WIN32 1**

## DESCRIPTION

Despite the "32", this also covers 64-bit Windows; as an informal convention, its system layer tends to still be referred to as "the Win32 API."

## AVAILABILITY

This macro is available since SDL 3.2.0.
