X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flookup_table.c;h=ab13e5e11c91d50a42706c49bad21f0d1755674b;hp=fee69cbb6cc26c5adcfb478e8103bdc508c9be0d;hb=8c26ca707e56d9848e52076ad3f7c26ea7fa338d;hpb=2a33c303e30fd740f740e21632fd06b9e414b0c7 diff --git a/src/lookup_table.c b/src/lookup_table.c index fee69cbb..ab13e5e1 100644 --- a/src/lookup_table.c +++ b/src/lookup_table.c @@ -86,7 +86,7 @@ clone_lookup_table_entry(const struct wim_lookup_table_entry *old) switch (new->resource_location) { case RESOURCE_IN_STAGING_FILE: case RESOURCE_IN_FILE_ON_DISK: -#if defined(__CYGWIN__) || defined(__WIN32__) +#ifdef __WIN32__ case RESOURCE_WIN32: #endif BUILD_BUG_ON((void*)&old->file_on_disk != @@ -141,7 +141,7 @@ void free_lookup_table_entry(struct wim_lookup_table_entry *lte) case RESOURCE_IN_STAGING_FILE: case RESOURCE_IN_ATTACHED_BUFFER: case RESOURCE_IN_FILE_ON_DISK: -#if defined(__CYGWIN__) || defined(__WIN32__) +#ifdef __WIN32__ case RESOURCE_WIN32: #endif BUILD_BUG_ON((void*)<e->file_on_disk !=