]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/charset.c
Remove gdb_static_assert
[thirdparty/binutils-gdb.git] / gdb / charset.c
index bce6050c97f5df7cce474aa890f8b4736a9c6f49..ac2613f4c8818f85b63422129d9177778e398b51 100644 (file)
@@ -939,7 +939,7 @@ default_auto_wide_charset (void)
 
 /* GDB cannot handle strings correctly if this size is different.  */
 
-gdb_static_assert (sizeof (gdb_wchar_t) == 2 || sizeof (gdb_wchar_t) == 4);
+static_assert (sizeof (gdb_wchar_t) == 2 || sizeof (gdb_wchar_t) == 4);
 
 /* intermediate_encoding returns the charset used internally by
    GDB to convert between target and host encodings. As the test above