forked from bartvdbraak/blender
code cleanup: modify DO_INLINE define to not use __inline with mingw
make RegisterBlendExtension_Fail a static func u
This commit is contained in:
parent
e75f5c8208
commit
f9d9459e3f
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// this is needed for inlining behavior
|
// this is needed for inlining behavior
|
||||||
#if defined _WIN32
|
#if defined _MSC_VER
|
||||||
# define DO_INLINE __inline
|
# define DO_INLINE __inline
|
||||||
#elif defined (__sun) || defined (__sun__)
|
#elif defined (__sun) || defined (__sun__)
|
||||||
# define DO_INLINE
|
# define DO_INLINE
|
||||||
|
@ -39,7 +39,7 @@ struct Histogram;
|
|||||||
struct ImBuf;
|
struct ImBuf;
|
||||||
struct rctf;
|
struct rctf;
|
||||||
|
|
||||||
#if defined _WIN32
|
#if defined _MSC_VER
|
||||||
# define DO_INLINE __inline
|
# define DO_INLINE __inline
|
||||||
#elif defined(__sun) || defined(__sun__)
|
#elif defined(__sun) || defined(__sun__)
|
||||||
# define DO_INLINE
|
# define DO_INLINE
|
||||||
|
@ -68,7 +68,7 @@ int BLI_getInstallationDir(char *str)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RegisterBlendExtension_Fail(HKEY root)
|
static void RegisterBlendExtension_Fail(HKEY root)
|
||||||
{
|
{
|
||||||
printf("failed\n");
|
printf("failed\n");
|
||||||
if (root)
|
if (root)
|
||||||
|
@ -67,7 +67,7 @@ ListBase node_internal_connect_default(struct bNodeTree *ntree, struct bNode *no
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// this is needed for inlining behavior
|
// this is needed for inlining behavior
|
||||||
#if defined _WIN32
|
#if defined _MSC_VER
|
||||||
# define DO_INLINE __inline
|
# define DO_INLINE __inline
|
||||||
#elif defined (__sun) || defined (__sun__)
|
#elif defined (__sun) || defined (__sun__)
|
||||||
# define DO_INLINE
|
# define DO_INLINE
|
||||||
|
Loading…
Reference in New Issue
Block a user