From: Locked-chess-official <13140752715@163.com> Date: Fri, 14 Nov 2025 15:52:14 +0000 (+0800) Subject: gh-141488: Add `Py_` prefix to Include/datetime.h macros (#141493) X-Git-Tag: v3.15.0a2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da7f4e4b22020cfc6c5b5918756e454ef281848d;p=thirdparty%2FPython%2Fcpython.git gh-141488: Add `Py_` prefix to Include/datetime.h macros (#141493) --- diff --git a/Include/datetime.h b/Include/datetime.h index b78cc0e8e2e5..ed36e6e48c87 100644 --- a/Include/datetime.h +++ b/Include/datetime.h @@ -1,8 +1,8 @@ /* datetime.h */ #ifndef Py_LIMITED_API -#ifndef DATETIME_H -#define DATETIME_H +#ifndef Py_DATETIME_H +#define Py_DATETIME_H #ifdef __cplusplus extern "C" { #endif @@ -263,5 +263,5 @@ static PyDateTime_CAPI *PyDateTimeAPI = NULL; #ifdef __cplusplus } #endif -#endif +#endif /* !Py_DATETIME_H */ #endif /* !Py_LIMITED_API */