)]}'
{
  "commit": "5b6e915777667d689137fee8d50b3a48d1f0785f",
  "tree": "4161520c2066a9a30d4984456669459bdecbdcee",
  "parents": [
    "80e6974eccbc1c9cbd675c07bdf8e0a09400962f"
  ],
  "author": {
    "name": "Enrico Deiana",
    "email": "edeiana@google.com",
    "time": "Wed Jun 17 03:12:16 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jun 17 03:12:16 2026"
  },
  "message": "i#7936: Resolve bool definition conflicts in globals_api.h (#7937)\n\nResolves compilation errors caused by conflicting definitions of\nthe `bool` type between the DynamoRIO \"core\" and external clients.\nTo support both without requiring \u003cstdbool.h\u003e to be included\neverywhere, we make the `bool` definition in globals_api.h\nconditional.\nFor core compilation (where `DYNAMORIO_INTERNAL` is defined),\nwe undefine the `bool` macro and fall back to `typedef _Bool bool`.\nFor clients and extensions, we preserve the standard `bool` macro\ndefinition.\n\nThis issue was causing a failure when building the `samples_proj`\ntest internally.\n\nFixes #7936",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fe09f236d858f856598b5f5f3255b21c0204d624",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "a99b178137ee534b696980cc5e2af16552e4d552",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "799cce2b4d9c06979fd6b0d7b6ed0100b6410b4a",
      "old_mode": 33188,
      "old_path": "core/lib/globals_api.h",
      "new_id": "87146da24a593723f9d313a2338a5044c6b69e4e",
      "new_mode": 33188,
      "new_path": "core/lib/globals_api.h"
    },
    {
      "type": "modify",
      "old_id": "fc6833aadd0dc2323020b9302aac2b84f26667d5",
      "old_mode": 33188,
      "old_path": "core/options.c",
      "new_id": "c118abc51a8f24d30a2fd1c5aa23515cbba37fdc",
      "new_mode": 33188,
      "new_path": "core/options.c"
    },
    {
      "type": "modify",
      "old_id": "89bbeda03c27b957211430886cd4e462890138d3",
      "old_mode": 33188,
      "old_path": "core/optionsx.h",
      "new_id": "2f187f57851e4405553ab71e03f022d3e167e3c4",
      "new_mode": 33188,
      "new_path": "core/optionsx.h"
    },
    {
      "type": "modify",
      "old_id": "9045844699d6d5616996976984e4ab862f93936d",
      "old_mode": 33188,
      "old_path": "core/win32/ntdll.h",
      "new_id": "3a51324fdc350cb7c08d8caac6e84a9bc40ccfbb",
      "new_mode": 33188,
      "new_path": "core/win32/ntdll.h"
    }
  ]
}
