[Alsaplayer-devel] Re: [Alsaplayer-commits] SF.net SVN: alsaplayer: [1243] trunk/alsaplayer/app/CorePlayer.cpp

Peter Lemenkov lemenkov at gmail.com
Mon Jul 9 07:34:46 BST 2007


Hello All!

2007/7/9, Dominique Michel <dominique.michel at citycable.ch>:

> > It might be better to just rewrite the code as:
> >
> > #ifdef PATHMAX
> >   char path[PATHMAX];
> > #else
> >   char path[1024];
> > #endif

> I agree with this. The other way can be a source of confusion for casual users.

Done.
I added

#ifndef PATH_MAX
#define PATH_MAX 1024
#endif

-- 
With best regards!



More information about the alsaplayer-devel mailing list