aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-section-script.py
diff options
context:
space:
mode:
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>2022-08-16 18:04:21 +0100
committerLuis Machado <luis.machado@arm.com>2022-08-16 18:04:21 +0100
commit4ae982e83ced08a78af98f738878e28e4066d72b (patch)
tree00f3c6fe9983ce53adc07548fb4a136e55705e6b /gdb/testsuite/gdb.python/py-section-script.py
parent9096fc28c62741bfb7962eb5dfdee28a7b1d1345 (diff)
downloadbinutils-4ae982e83ced08a78af98f738878e28e4066d72b.zip
binutils-4ae982e83ced08a78af98f738878e28e4066d72b.tar.gz
binutils-4ae982e83ced08a78af98f738878e28e4066d72b.tar.bz2
bfd: Define ___lc_codepage_func prototype for older MinGW-w64
In commit 68e80d96a84282d547f3b3c1234c99009521630c, the usage of ___lc_codepage_func was introduced to determine the current encoding. Prior to version 9.0 of MinGW-w64, the function prototype for ___lc_codepage_func was missing and trying to build BFD caused the following error: error: implicit declaration of function ‘___lc_codepage_func’ This changeset adds a conditonal definition of ___lc_codepage_func to allow a sucessful build with MinGW-w64. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-section-script.py')
0 files changed, 0 insertions, 0 deletions