Skip to content

Commit 0bcd6a0

Browse files
committed
SDL3 changed the patch macro definition name
1 parent 5ffb21d commit 0bcd6a0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

packed/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ exports.project_descriptions = (_a = {},
16081608
deps: [Project.SDL],
16091609
major_define: "SDL_IMAGE_MAJOR_VERSION",
16101610
minor_define: "SDL_IMAGE_MINOR_VERSION",
1611-
patch_define: "SDL_IMAGE_PATCHLEVEL",
1611+
patch_define: "(?:SDL_IMAGE_MICRO_VERSION|SDL_IMAGE_PATCHLEVEL)",
16121612
header_paths: ["include/SDL3_image", "include/SDL2"],
16131613
header_filenames: ["SDL_image.h"],
16141614
git_url: "https://github.com/libsdl-org/SDL_image.git",
@@ -1623,7 +1623,7 @@ exports.project_descriptions = (_a = {},
16231623
deps: [Project.SDL],
16241624
major_define: "SDL_MIXER_MAJOR_VERSION",
16251625
minor_define: "SDL_MIXER_MINOR_VERSION",
1626-
patch_define: "SDL_MIXER_PATCHLEVEL",
1626+
patch_define: "(?:SDL_MIXER_MICRO_VERSION|SDL_MIXER_PATCHLEVEL)",
16271627
header_paths: ["include/SDL3_mixer", "include/SDL2"],
16281628
header_filenames: ["SDL_mixer.h"],
16291629
git_url: "https://github.com/libsdl-org/SDL_mixer.git",
@@ -1638,7 +1638,7 @@ exports.project_descriptions = (_a = {},
16381638
deps: [Project.SDL],
16391639
major_define: "SDL_NET_MAJOR_VERSION",
16401640
minor_define: "SDL_NET_MINOR_VERSION",
1641-
patch_define: "SDL_NET_PATCHLEVEL",
1641+
patch_define: "(?:SDL_NET_MICRO_VERSION|SDL_NET_PATCHLEVEL)",
16421642
header_paths: ["include/SDL3_net", "include/SDL2", "include"],
16431643
header_filenames: ["SDL_net.h"],
16441644
git_url: "https://github.com/libsdl-org/SDL_net.git",
@@ -1653,7 +1653,7 @@ exports.project_descriptions = (_a = {},
16531653
deps: [Project.SDL, Project.SDL_ttf],
16541654
major_define: "SDL_RTF_MAJOR_VERSION",
16551655
minor_define: "SDL_RTF_MINOR_VERSION",
1656-
patch_define: "SDL_RTF_PATCHLEVEL",
1656+
patch_define: "(?:SDL_RTF_MICRO_VERSION|SDL_RTF_PATCHLEVEL)",
16571657
header_paths: ["include/SDL3_rtf", "include/SDL2", "include"],
16581658
header_filenames: ["SDL_rtf.h"],
16591659
git_url: "https://github.com/libsdl-org/SDL_rtf.git",
@@ -1668,7 +1668,7 @@ exports.project_descriptions = (_a = {},
16681668
deps: [Project.SDL],
16691669
major_define: "SDL_TTF_MAJOR_VERSION",
16701670
minor_define: "SDL_TTF_MINOR_VERSION",
1671-
patch_define: "SDL_TTF_PATCHLEVEL",
1671+
patch_define: "(?:SDL_TTF_MICRO_VERSION|SDL_TTF_PATCHLEVEL)",
16721672
header_paths: ["include/SDL3_ttf", "include/SDL2"],
16731673
header_filenames: ["SDL_ttf.h"],
16741674
git_url: "https://github.com/libsdl-org/SDL_ttf.git",

src/version.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export const project_descriptions: { [key in Project]: ProjectDescription } = {
297297
deps: [Project.SDL],
298298
major_define: "SDL_IMAGE_MAJOR_VERSION",
299299
minor_define: "SDL_IMAGE_MINOR_VERSION",
300-
patch_define: "SDL_IMAGE_PATCHLEVEL",
300+
patch_define: "(?:SDL_IMAGE_MICRO_VERSION|SDL_IMAGE_PATCHLEVEL)",
301301
header_paths: ["include/SDL3_image", "include/SDL2"],
302302
header_filenames: ["SDL_image.h"],
303303
git_url: "https://github.com/libsdl-org/SDL_image.git",
@@ -312,7 +312,7 @@ export const project_descriptions: { [key in Project]: ProjectDescription } = {
312312
deps: [Project.SDL],
313313
major_define: "SDL_MIXER_MAJOR_VERSION",
314314
minor_define: "SDL_MIXER_MINOR_VERSION",
315-
patch_define: "SDL_MIXER_PATCHLEVEL",
315+
patch_define: "(?:SDL_MIXER_MICRO_VERSION|SDL_MIXER_PATCHLEVEL)",
316316
header_paths: ["include/SDL3_mixer", "include/SDL2"],
317317
header_filenames: ["SDL_mixer.h"],
318318
git_url: "https://github.com/libsdl-org/SDL_mixer.git",
@@ -327,7 +327,7 @@ export const project_descriptions: { [key in Project]: ProjectDescription } = {
327327
deps: [Project.SDL],
328328
major_define: "SDL_NET_MAJOR_VERSION",
329329
minor_define: "SDL_NET_MINOR_VERSION",
330-
patch_define: "SDL_NET_PATCHLEVEL",
330+
patch_define: "(?:SDL_NET_MICRO_VERSION|SDL_NET_PATCHLEVEL)",
331331
header_paths: ["include/SDL3_net", "include/SDL2", "include"],
332332
header_filenames: ["SDL_net.h"],
333333
git_url: "https://github.com/libsdl-org/SDL_net.git",
@@ -342,7 +342,7 @@ export const project_descriptions: { [key in Project]: ProjectDescription } = {
342342
deps: [Project.SDL, Project.SDL_ttf],
343343
major_define: "SDL_RTF_MAJOR_VERSION",
344344
minor_define: "SDL_RTF_MINOR_VERSION",
345-
patch_define: "SDL_RTF_PATCHLEVEL",
345+
patch_define: "(?:SDL_RTF_MICRO_VERSION|SDL_RTF_PATCHLEVEL)",
346346
header_paths: ["include/SDL3_rtf", "include/SDL2", "include"],
347347
header_filenames: ["SDL_rtf.h"],
348348
git_url: "https://github.com/libsdl-org/SDL_rtf.git",
@@ -357,7 +357,7 @@ export const project_descriptions: { [key in Project]: ProjectDescription } = {
357357
deps: [Project.SDL],
358358
major_define: "SDL_TTF_MAJOR_VERSION",
359359
minor_define: "SDL_TTF_MINOR_VERSION",
360-
patch_define: "SDL_TTF_PATCHLEVEL",
360+
patch_define: "(?:SDL_TTF_MICRO_VERSION|SDL_TTF_PATCHLEVEL)",
361361
header_paths: ["include/SDL3_ttf", "include/SDL2"],
362362
header_filenames: ["SDL_ttf.h"],
363363
git_url: "https://github.com/libsdl-org/SDL_ttf.git",

0 commit comments

Comments
 (0)