mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 15:52:27 +03:00
Windows porting: port hyperscan and chimera tools to windows.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015-2017, Intel Corporation
|
||||
* Copyright (c) 2015-2018, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -66,8 +66,13 @@ typedef signed int s32;
|
||||
/* We append the 'a' for aligned, since these aren't common, garden variety
|
||||
* 64 bit values. The alignment is necessary for structs on some platforms,
|
||||
* so we don't end up performing accidental unaligned accesses. */
|
||||
#if defined(_WIN32) && ! defined(_WIN64)
|
||||
typedef unsigned long long ALIGN_ATTR(4) u64a;
|
||||
typedef signed long long ALIGN_ATTR(4) s64a;
|
||||
#else
|
||||
typedef unsigned long long ALIGN_ATTR(8) u64a;
|
||||
typedef signed long long ALIGN_ATTR(8) s64a;
|
||||
#endif
|
||||
|
||||
/* get the SIMD types */
|
||||
#include "util/simd_types.h"
|
||||
|
Reference in New Issue
Block a user