diff options
Diffstat (limited to 'gdbsupport/common-utils.h')
-rw-r--r-- | gdbsupport/common-utils.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdbsupport/common-utils.h b/gdbsupport/common-utils.h index 4429f08..28c08ee 100644 --- a/gdbsupport/common-utils.h +++ b/gdbsupport/common-utils.h @@ -59,7 +59,11 @@ xfree (T *ptr) data type. Use operator delete instead."); if (ptr != NULL) - free (ptr); /* ARI: free */ +#ifdef GNULIB_NAMESPACE + GNULIB_NAMESPACE::free (ptr); /* ARI: free */ +#else + free (ptr); /* ARI: free */ +#endif } |