Skip to content

Commit

Permalink
cleanup(libscap): remove some udig stuff from libscap
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <[email protected]>
  • Loading branch information
Andreagit97 committed Nov 15, 2023
1 parent e88f7f2 commit cbc762e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion userspace/libscap/scap.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ struct scap_vtable;
#include <engine/savefile/savefile_public.h>
#include <engine/source_plugin/source_plugin_public.h>
#include <engine/test_input/test_input_public.h>
#include <engine/udig/udig_public.h>

//
// The minimum API and schema versions the driver has to support before we can use it
Expand Down
2 changes: 1 addition & 1 deletion userspace/libscap/scap_zlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

#include "settings.h"

#if defined(USE_ZLIB) && !defined(UDIG) && !defined(_WIN32)
#if defined(USE_ZLIB) && !defined(_WIN32)
#include <zlib.h>
#else
#include <stdio.h>
Expand Down
10 changes: 0 additions & 10 deletions userspace/libscap/userspace_flag_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ limitations under the License.
#define u32 uint32_t
#define u64 uint64_t

#ifndef UDIG
#define UNDEF_UDIG
#define UDIG
#endif

#if defined(__linux__)
#include "../../driver/ppm_flag_helpers.h"
#endif

#ifdef UNDEF_UDIG
#undef UDIG
#undef UNDEF_UDIG
#endif

0 comments on commit cbc762e

Please sign in to comment.