"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer0/os_predef.h" between
pymol-v1.8.6.0.tar.bz2 and pymol-v2.1.0.tar.bz2

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

os_predef.h  (pymol-v1.8.6.0.tar.bz2):os_predef.h  (pymol-v2.1.0.tar.bz2)
skipping to change at line 109 skipping to change at line 109
/* END PROPRIETARY CODE SEGMENT */ /* END PROPRIETARY CODE SEGMENT */
#ifdef __linux__ #ifdef __linux__
#include <malloc.h> #include <malloc.h>
#else #else
#include <stddef.h> #include <stddef.h>
#endif #endif
#if defined(_WIN32) || defined(_WIN64) #if defined(_WIN32) || defined(_WIN64)
#pragma warning (disable:4996) #pragma warning (disable:4996)
#ifndef snprintf #if !defined(snprintf) && (_MSC_VER < 1900)
#define snprintf sprintf_s #define snprintf sprintf_s
#endif #endif
#endif #endif
#include "ov_types.h" #include "ov_types.h"
// alternative to std::swap if references are not allowed (e.g. bit fields) // alternative to std::swap if references are not allowed (e.g. bit fields)
#define SWAP_NOREF(a, b) {auto _t=(a);(a)=(b);(b)=_t;} #define SWAP_NOREF(a, b) {auto _t=(a);(a)=(b);(b)=_t;}
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)