On the contrary, entrepreneurship is very much dependent on the context it occurs in.
In a socialist/communist context, my small sewing machine for customized garments is a "means of production" that is subject to seizure by the "The People". In a capitalist context, I am actively encouraged (subject to market conditions) to expand and build up my own small factory/business to meet demand.
Given that it can't occur under socialism or communism, I don't think it is independent of the socio-economic system.
But, that aside, you have a point. However, that aside, I see no reason to believe the other person wasn't talking about both.
While the domain may be limited, it has been permitted in some degree in most real-world implementations of socialism or communism (and it was also widely practiced in pre-capitalist systems, like feudalism.)
There's a relationship between the two terms (capitalism-the-economic-system was named “capitalism” by it's critics because it organizes the structure of society around the interests of those who have been most successful in in capitalism in the sense of private endeavors to acquire capital, after all.)
> And yet, freelancers or one-employee businesses are also engaging in capitalism.
Those are essentially two different words that happen to be spelled and pronounced the same. The first is a politico-economic system, the second is the act of of entrepreneurship independent of what politico-economic context it occurs in.
That they are both called “capitalism” doesn't actually make them the same thing.