forked from amazingfate/loongoffice
rather than detect it after the fact to keep ubsan happy Change-Id: I1336f7a23fa7170b754b818c1ec42ca85f5c27d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167445 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>