code cleanup: modify DO_INLINE define to not use __inline with mingw

make RegisterBlendExtension_Fail a static func
       u
This commit is contained in:
Campbell Barton 2012-09-15 02:29:47 +00:00
parent e75f5c8208
commit f9d9459e3f
4 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@
// this is needed for inlining behavior
#if defined _WIN32
#if defined _MSC_VER
# define DO_INLINE __inline
#elif defined (__sun) || defined (__sun__)
# define DO_INLINE

View File

@ -39,7 +39,7 @@ struct Histogram;
struct ImBuf;
struct rctf;
#if defined _WIN32
#if defined _MSC_VER
# define DO_INLINE __inline
#elif defined(__sun) || defined(__sun__)
# define DO_INLINE

View File

@ -68,7 +68,7 @@ int BLI_getInstallationDir(char *str)
return 1;
}
void RegisterBlendExtension_Fail(HKEY root)
static void RegisterBlendExtension_Fail(HKEY root)
{
printf("failed\n");
if (root)

View File

@ -67,7 +67,7 @@ ListBase node_internal_connect_default(struct bNodeTree *ntree, struct bNode *no
#endif
// this is needed for inlining behavior
#if defined _WIN32
#if defined _MSC_VER
# define DO_INLINE __inline
#elif defined (__sun) || defined (__sun__)
# define DO_INLINE