summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2022-08-04 11:39:09 -0700
committerBrian C. Lane <bcl@redhat.com>2022-08-04 11:53:32 -0700
commitaa690ee275db86d1edb2468bcf31c3d7cf81228e (patch)
treea15bdac71686255b670a2b8b7e3eb068f48bf015 /build-aux
parentb16be5ffc8e700df2b6b2545c4b6794cea71b8e7 (diff)
downloadparted-aa690ee275db86d1edb2468bcf31c3d7cf81228e.tar.gz
disk.in.h: Remove use of enums with #define
The preprocessor doesn't evaluate the enum, so it ends up being 0, which causes problems for library users like pyparted which try to use the _LAST value to conditionally include support for newer flags. Instead just define the int that is the first and last entry in each enum. Thanks to adamw and dcantrell for help arriving at a solution.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions