mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
fixed possible macro issue mentioned in #39
This commit is contained in:
parent
0cc72802e6
commit
5651efd165
4
common.h
4
common.h
@ -5,8 +5,8 @@
|
|||||||
* Author: wangyu
|
* Author: wangyu
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef COMMON_H_
|
#ifndef UDP2RAW_COMMON_H_
|
||||||
#define COMMON_H_
|
#define UDP2RAW_COMMON_H_
|
||||||
#define __STDC_FORMAT_MACROS 1
|
#define __STDC_FORMAT_MACROS 1
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef _ENCRYPTION_H_
|
#ifndef UDP2RAW_ENCRYPTION_H_
|
||||||
#define _ENCRYPTION_H_
|
#define UDP2RAW_ENCRYPTION_H_
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
* this file comes from https://github.com/kokke/tiny-AES128-C
|
* this file comes from https://github.com/kokke/tiny-AES128-C
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _AES_H_
|
#ifndef UDP2RAW_AES_H_
|
||||||
#define _AES_H_
|
#define UDP2RAW_AES_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
* This file is part of mbed TLS (https://tls.mbed.org)
|
* This file is part of mbed TLS (https://tls.mbed.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _AESARM_H_
|
#ifndef UDP2RAW_AESARM_H_
|
||||||
#define _AESARM_H_
|
#define UDP2RAW_AESARM_H_
|
||||||
|
|
||||||
#ifndef AES_ENCRYPT
|
#ifndef AES_ENCRYPT
|
||||||
#define AES_ENCRYPT 1
|
#define AES_ENCRYPT 1
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _AESNI_H_
|
#ifndef UDP2RAW_AESNI_H_
|
||||||
#define _AESNI_H_
|
#define UDP2RAW_AESNI_H_
|
||||||
|
|
||||||
#ifndef AES_ENCRYPT
|
#ifndef AES_ENCRYPT
|
||||||
#define AES_ENCRYPT 1
|
#define AES_ENCRYPT 1
|
||||||
|
4
lib/aes_acc/asm/arm_arch.h
vendored
4
lib/aes_acc/asm/arm_arch.h
vendored
@ -7,8 +7,8 @@
|
|||||||
* https://www.openssl.org/source/license.html
|
* https://www.openssl.org/source/license.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ARM_ARCH_H__
|
#ifndef UDP2RAW__ARM_ARCH_H__
|
||||||
# define __ARM_ARCH_H__
|
# define UDP2RAW__ARM_ARCH_H__
|
||||||
|
|
||||||
# if !defined(__ARM_ARCH__)
|
# if !defined(__ARM_ARCH__)
|
||||||
# if defined(__CC_ARM)
|
# if defined(__CC_ARM)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef _MD5_H_
|
#ifndef UDP2RAW_MD5_H_
|
||||||
#define _MD5_H_
|
#define UDP2RAW_MD5_H_
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
4
log.h
4
log.h
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#ifndef _LOG_MYLOG_H_
|
#ifndef UDP2RAW_LOG_MYLOG_H_
|
||||||
#define _LOG_MYLOG_H_
|
#define UDP2RAW_LOG_MYLOG_H_
|
||||||
|
|
||||||
|
|
||||||
#include<common.h>
|
#include<common.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user