Commit af06c5a6 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

linux build

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59097 954022d7-b5bf-4e40-9824-e11837661b57
parent ace4c6ef
#pragma once #pragma once
#ifndef PPTX_LIMIT_CHARTBUILDTYPE_INCLUDE_H_ #ifndef PPTX_LIMIT_CHARTBUILDTYPE_INCLUDE_H_
#define PPTX_LIMIT_CHARTBUILDTYPE_INCLUDE_H_ #define PPTX_LIMIT_CHARTBUILDTYPE_INCLUDE_H_
...@@ -12,7 +13,7 @@ namespace PPTX ...@@ -12,7 +13,7 @@ namespace PPTX
class ChartBuildType : public BaseLimit class ChartBuildType : public BaseLimit
{ {
public: public:
ChartBuildType::ChartBuildType() ChartBuildType()
{ {
m_strValue = _T("allAtOnce"); m_strValue = _T("allAtOnce");
} }
......
...@@ -72,25 +72,25 @@ typedef unsigned long ULONG, ARGB; ...@@ -72,25 +72,25 @@ typedef unsigned long ULONG, ARGB;
typedef long HRESULT; typedef long HRESULT;
#ifdef WIN32 #ifdef WIN32
#include "winerror.h" #include "winerror.h"
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
#else #else
#ifndef S_OK #ifndef S_OK
#define S_OK ((HRESULT)0x00000000L) #define S_OK ((HRESULT)0x00000000L)
#define S_FALSE ((HRESULT)0x00000001L) #define S_FALSE ((HRESULT)0x00000001L)
#endif #endif
#endif
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif #endif
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef RGB #ifndef RGB
typedef int RGB; typedef int RGB;
#define RGB(r,g,b) ((r)<<16|(g)<<8|(b)) #define RGB(r,g,b) ((r)<<16|(g)<<8|(b))
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment