Remove "pragma once"
The same thing is handled by proper standard C header include guards in all these files.
This commit is contained in:
parent
d1b0713c76
commit
b1c070cf8b
@ -33,10 +33,6 @@
|
|||||||
#ifndef WELS_VIDEO_CODEC_DEFINITION_H__
|
#ifndef WELS_VIDEO_CODEC_DEFINITION_H__
|
||||||
#define WELS_VIDEO_CODEC_DEFINITION_H__
|
#define WELS_VIDEO_CODEC_DEFINITION_H__
|
||||||
|
|
||||||
#if defined(WIN32)
|
|
||||||
#pragma once
|
|
||||||
#endif//WIN32
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
/*rgb color formats*/
|
/*rgb color formats*/
|
||||||
videoFormatRGB = 1,
|
videoFormatRGB = 1,
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
#ifndef WELS_D3D9_UTILS_H__
|
#ifndef WELS_D3D9_UTILS_H__
|
||||||
#define WELS_D3D9_UTILS_H__
|
#define WELS_D3D9_UTILS_H__
|
||||||
|
|
||||||
//#pragma once // do not use this due cross platform, esp for Solaris
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "codec_def.h"
|
#include "codec_def.h"
|
||||||
|
|
||||||
|
@ -38,8 +38,6 @@
|
|||||||
#ifndef DEC_CONSOLE_H__
|
#ifndef DEC_CONSOLE_H__
|
||||||
#define DEC_CONSOLE_H__
|
#define DEC_CONSOLE_H__
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "code_api.h"
|
#include "code_api.h"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -38,10 +38,6 @@
|
|||||||
#if !defined(AFX_STDAFX_H__695FA8A5_BDC4_4206_8B7D_EE290F91E766__INCLUDED_)
|
#if !defined(AFX_STDAFX_H__695FA8A5_BDC4_4206_8B7D_EE290F91E766__INCLUDED_)
|
||||||
#define AFX_STDAFX_H__695FA8A5_BDC4_4206_8B7D_EE290F91E766__INCLUDED_
|
#define AFX_STDAFX_H__695FA8A5_BDC4_4206_8B7D_EE290F91E766__INCLUDED_
|
||||||
|
|
||||||
#if _MSC_VER > 1000
|
|
||||||
#pragma once
|
|
||||||
#endif // _MSC_VER > 1000
|
|
||||||
|
|
||||||
|
|
||||||
// Insert your headers here
|
// Insert your headers here
|
||||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||||
|
@ -47,10 +47,6 @@
|
|||||||
#include "decoder_context.h"
|
#include "decoder_context.h"
|
||||||
#include "welsCodecTrace.h"
|
#include "welsCodecTrace.h"
|
||||||
|
|
||||||
#if _MSC_VER > 1000
|
|
||||||
#pragma once
|
|
||||||
#endif // _MSC_VER > 1000
|
|
||||||
|
|
||||||
|
|
||||||
class ISVCDecoder;
|
class ISVCDecoder;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user