Merge pull request #102 from mstorsjo/remove-pragma-once

Remove pragma once
This commit is contained in:
ekr 2014-01-05 07:46:15 -08:00
commit 16ad879daf
5 changed files with 4 additions and 15 deletions

View File

@ -33,10 +33,6 @@
#ifndef WELS_VIDEO_CODEC_DEFINITION_H__
#define WELS_VIDEO_CODEC_DEFINITION_H__
#if defined(WIN32)
#pragma once
#endif//WIN32
typedef enum {
/*rgb color formats*/
videoFormatRGB = 1,

View File

@ -43,8 +43,6 @@
#ifndef 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 "codec_def.h"

View File

@ -34,7 +34,9 @@
* Created on 11-3-15.
*
*/
#pragma once
#ifndef DEC_CONSOLE_H__
#define DEC_CONSOLE_H__
#include "code_api.h"
@ -51,3 +53,4 @@ bool get_functions_address_create_decoder (ISVCDecoder** ppDecoder);
#endif // DEC_CONSOLE_H__

View File

@ -38,10 +38,6 @@
#if !defined(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
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers

View File

@ -47,10 +47,6 @@
#include "decoder_context.h"
#include "welsCodecTrace.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class ISVCDecoder;