Win: include <cctype> for isalpha without PCH

Building the workspace with `--without-pch` fails on MSVC:

    source/lib/sysdep/os/win/acpi.cpp(123): error C3861: 'isalpha':
    identifier not found

The pre-compiled header normally brings in `<cctype>`, but when PCH
generation is disabled the translation unit must include the header
explicitly.

Add the missing `#include <cctype>` to
`source/lib/sysdep/os/win/acpi.cpp`.

No functional change; the code now compiles cleanly with or without PCH.
This commit is contained in:
trompetin17 2025-07-23 09:17:27 -05:00
parent 8ccba254fe
commit df7b2fcd2a
No known key found for this signature in database
GPG key ID: 6C585FA3FC5DB179

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2024 Wildfire Games.
/* Copyright (C) 2025 Wildfire Games.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@ -29,6 +29,7 @@
#include "lib/sysdep/os/win/wfirmware.h"
#include <atomic>
#include <cctype>
#pragma pack(1)